From 23ca91cd21a97e174d28f1b445ead8b2f304e05c Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Mon, 11 Oct 2021 21:15:17 +0200 Subject: chore: cleanup some logs --- pages/_app.tsx | 1 - pages/index.tsx | 69 +++++++++++++++++++++++++++------------------------------ 2 files changed, 33 insertions(+), 37 deletions(-) (limited to 'pages') diff --git a/pages/_app.tsx b/pages/_app.tsx index ac03907..9833717 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -20,7 +20,6 @@ function MyApp({ Component, pageProps }: AppProps) { if (isInitialized) { localStorage.setItem('colorTheme', JSON.stringify(emacsTheme)) } - console.log(emacsTheme) }, [emacsTheme]) useEffect(() => { diff --git a/pages/index.tsx b/pages/index.tsx index 2ecdb9a..0d91ecf 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -482,7 +482,6 @@ export function GraphPage() { useOutsideClick({ ref: contextMenuRef, handler: () => { - console.log('click') contextMenu.onClose() }, }) @@ -520,9 +519,6 @@ export function GraphPage() { 'mainWindowWidth', windowWidth, ) - if (!graphData) { - return null - } return ( @@ -546,37 +542,39 @@ export function GraphPage() { tags={tagsRef.current} /> - + {graphData && ( + + )} @@ -1384,7 +1382,6 @@ export const Graph = function (props: GraphProps) { }, } - console.log('hey') return ( {threeDim ? ( -- cgit v1.2.3