From 546a88ec37073840e98ed689f7139d04985e861c Mon Sep 17 00:00:00 2001
From: "Thomas F. K. Jorna" <hello@tefkah.com>
Date: Mon, 11 Oct 2021 01:13:10 +0200
Subject: feat(preview): ui redo

---
 util/uniorg.tsx | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

(limited to 'util/uniorg.tsx')

diff --git a/util/uniorg.tsx b/util/uniorg.tsx
index 217bad1..8802dd1 100644
--- a/util/uniorg.tsx
+++ b/util/uniorg.tsx
@@ -9,10 +9,18 @@ export interface UniOrgProps {
   setPreviewNode: any
   nodeByCite: NodeByCite
   setSidebarHighlightedNode: any
+  openContextMenu: any
 }
 
 export const UniOrg = (props: UniOrgProps) => {
-  const { setSidebarHighlightedNode, nodeById, nodeByCite, previewNode, setPreviewNode } = props
+  const {
+    openContextMenu,
+    setSidebarHighlightedNode,
+    nodeById,
+    nodeByCite,
+    previewNode,
+    setPreviewNode,
+  } = props
 
   const [previewText, setPreviewText] = useState('')
 
@@ -44,6 +52,7 @@ export const UniOrg = (props: UniOrgProps) => {
             previewText,
             nodeByCite,
             setSidebarHighlightedNode,
+            openContextMenu,
           }}
         />
       )}
-- 
cgit v1.2.3

