From 26b200a640290877b4766ce1e3361ccd3d0ea766 Mon Sep 17 00:00:00 2001
From: Bob Zeleznik <zzzman@gmail.com>
Date: Mon, 18 Mar 2019 22:24:26 -0400
Subject: fixed duplicated menu items.

---
 src/client/views/Main.tsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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

diff --git a/src/client/views/Main.tsx b/src/client/views/Main.tsx
index 26a07fdfe..d103bf34a 100644
--- a/src/client/views/Main.tsx
+++ b/src/client/views/Main.tsx
@@ -52,11 +52,13 @@ export class Main extends React.Component {
     @observable public pwidth: number = 0;
     @observable public pheight: number = 0;
 
-    private mainDocId: string | undefined;
+    public mainDocId: string | undefined;
     private currentUser?: DashUserModel;
+    public static Instance: Main;
 
     constructor(props: Readonly<{}>) {
         super(props);
+        Main.Instance = this;
         // causes errors to be generated when modifying an observable outside of an action
         configure({ enforceActions: "observed" });
         if (window.location.pathname !== RouteStore.home) {
-- 
cgit v1.2.3-70-g09d2

