From 204132aba65d1c25ba6c256b3777c63e51c536f3 Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Wed, 5 Mar 2025 19:36:07 -0500
Subject: fixed doccreatemenu warnings.

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

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

diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx
index fddc0e40c..ef8d0c197 100644
--- a/src/client/views/MainView.tsx
+++ b/src/client/views/MainView.tsx
@@ -1140,7 +1140,7 @@ export class MainView extends ObservableReactComponent<object> {
                 <PreviewCursor />
                 <TaskCompletionBox />
                 <ContextMenu />
-                <DocCreatorMenu />
+                <DocCreatorMenu addDocTab={DocumentViewInternal.addDocTabFunc} />
                 <ImageLabelHandler />
                 <SmartDrawHandler />
                 <AnchorMenu />
-- 
cgit v1.2.3-70-g09d2

