From 37fea8344f27855e5d63cc8583f0a7edc7f4d437 Mon Sep 17 00:00:00 2001 From: Github Actions Date: Tue, 10 Oct 2023 09:50:43 -0500 Subject: [PATCH] fix: addressing comments for smaller changes like logs --- src/components/App/SideBar/SelectedNodeView/index.tsx | 2 -- src/components/App/SideBar/SidebarSubView/index.tsx | 2 -- src/components/App/SideBar/index.tsx | 3 --- src/constants/index.ts | 1 - 4 files changed, 8 deletions(-) diff --git a/src/components/App/SideBar/SelectedNodeView/index.tsx b/src/components/App/SideBar/SelectedNodeView/index.tsx index 46383c5f7..a83ab4297 100644 --- a/src/components/App/SideBar/SelectedNodeView/index.tsx +++ b/src/components/App/SideBar/SelectedNodeView/index.tsx @@ -18,8 +18,6 @@ const _View = () => { const selectedNode = useSelectedNode() const [showTeachMe] = useDataStore((s) => [s.showTeachMe]) - console.log('SHOW TEACH ME', showTeachMe) - if (showTeachMe) { return } diff --git a/src/components/App/SideBar/SidebarSubView/index.tsx b/src/components/App/SideBar/SidebarSubView/index.tsx index bdb188f93..e76dcb886 100644 --- a/src/components/App/SideBar/SidebarSubView/index.tsx +++ b/src/components/App/SideBar/SidebarSubView/index.tsx @@ -16,8 +16,6 @@ export const SideBarSubView = ({ open }: Props) => { s.showTeachMe, ]) - console.log('IS OPEN', open) - return ( diff --git a/src/components/App/SideBar/index.tsx b/src/components/App/SideBar/index.tsx index c50929d22..10b9fd7f0 100644 --- a/src/components/App/SideBar/index.tsx +++ b/src/components/App/SideBar/index.tsx @@ -127,9 +127,6 @@ export const SideBar = ({ onSubmit }: Props) => { const selectedNode = useSelectedNode() const [showTeachMe] = useDataStore((s) => [s.showTeachMe]) - console.log('IS OPEN 2 vals', !!selectedNode, !!showTeachMe) - console.log('IS OPEN 2', !!selectedNode || !!showTeachMe) - return ( <> diff --git a/src/constants/index.ts b/src/constants/index.ts index ab1845d07..16efe205a 100644 --- a/src/constants/index.ts +++ b/src/constants/index.ts @@ -4,7 +4,6 @@ const { origin, host } = window.location export const isDevelopment = !!( origin === 'http://localhost:3000' || origin === 'http://localhost:3001' || - origin === 'http://localhost:3004' || origin === 'https://sphinx-jarvis-david.sphinx1.repl.co' )