From cb4d40e8fa24cd1b7f2d945af5f18e5cb904e8de Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Sat, 16 Dec 2023 19:22:54 -0500
Subject: fixed props refernece

---
 src/client/views/DocumentButtonBar.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/client/views/DocumentButtonBar.tsx')

diff --git a/src/client/views/DocumentButtonBar.tsx b/src/client/views/DocumentButtonBar.tsx
index 03f9ed52f..f0887676f 100644
--- a/src/client/views/DocumentButtonBar.tsx
+++ b/src/client/views/DocumentButtonBar.tsx
@@ -316,7 +316,7 @@ export class DocumentButtonBar extends ObservableReactComponent<{ views: () => (
 
     @computed
     get calendarButton() {
-        const targetDoc = this.view0?.props.Document;
+        const targetDoc = this.view0?.Document;
         return !targetDoc ? null : (
             <Tooltip title={<div className="dash-calendar-button">Open calendar menu</div>}>
                 <div
-- 
cgit v1.2.3-70-g09d2

