From a71be5204800100917034f49d14243010b3f648c Mon Sep 17 00:00:00 2001
From: "Thomas F. K. Jorna" <thomasfkjorna@gmail.com>
Date: Thu, 22 Jul 2021 18:41:18 +0200
Subject: passed emacsnode prop

---
 pages/index.tsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'pages/index.tsx')

diff --git a/pages/index.tsx b/pages/index.tsx
index 31cc0ba..ff0537f 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -201,6 +201,7 @@ export function GraphPage() {
           physics,
           graphData,
           threeDim,
+          emacsNode,
         }}
       />
     </div>
@@ -529,10 +530,11 @@ export interface GraphProps {
   graphData: GraphData
   physics: typeof initialPhysics
   threeDim: boolean
+  emacsNode: string
 }
 
 export const Graph = function (props: GraphProps) {
-  const { physics, graphData, threeDim, linksByNodeId } = props
+  const { physics, graphData, threeDim, linksByNodeId, emacsNode } = props
 
   const graph2dRef = useRef<any>(null)
   const graph3dRef = useRef<any>(null)
-- 
cgit v1.2.3

