From c11b992f72394f5b587694a58d3a1ffec1ce9ba4 Mon Sep 17 00:00:00 2001
From: "Thomas F. K. Jorna" <thomasfkjorna@gmail.com>
Date: Sat, 31 Jul 2021 11:34:28 +0200
Subject: removed debugging messages which made things slow

---
 pages/index.tsx | 2 --
 1 file changed, 2 deletions(-)

(limited to 'pages/index.tsx')

diff --git a/pages/index.tsx b/pages/index.tsx
index 7c943cf..90d9686 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -151,7 +151,6 @@ export function GraphPage() {
             case 'follow':
               return setEmacsNodeId(message.data.id)
             case 'zoom': {
-              console.log(message)
               const links = linksByNodeIdRef.current[message.data.id!] ?? []
               const nodes = Object.fromEntries(
                 [
@@ -443,7 +442,6 @@ export const Graph = forwardRef(function (props: GraphProps, graphRef: any) {
   const themeContext = useContext<ThemeContextProps>(ThemeContext)
 
   const getThemeColor = (name: string) => {
-    console.log(name)
     if (!theme) {
       return
     }
-- 
cgit v1.2.3

