From 3c70e060c708f3f9bab15b71f061be473eac4d44 Mon Sep 17 00:00:00 2001 From: Anton Tranelis Date: Sun, 13 Oct 2024 23:01:57 +0200 Subject: [PATCH] removed logging --- src/Components/AppShell/ContextWrapper.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Components/AppShell/ContextWrapper.tsx b/src/Components/AppShell/ContextWrapper.tsx index f971a574..9d5967cd 100644 --- a/src/Components/AppShell/ContextWrapper.tsx +++ b/src/Components/AppShell/ContextWrapper.tsx @@ -30,7 +30,6 @@ export const ContextWrapper = ({ children }) => { // Case 1: Only the Router is missing, but ContextWrapper is already provided if (!location && isWrapped) { - console.log("Router is not present, but ContextWrapper is already provided. Wrapping with Router only."); return ( {children} @@ -40,7 +39,6 @@ export const ContextWrapper = ({ children }) => { // Case 2: Neither Router nor ContextWrapper is present if (!location && !isWrapped) { - console.log("Router and ContextWrapper are not present. Wrapping both."); return ( @@ -54,7 +52,6 @@ export const ContextWrapper = ({ children }) => { // Case 3: Only ContextWrapper is missing if (location && !isWrapped) { - console.log("ContextWrapper is not present. Wrapping ContextWrapper."); return ( {children} @@ -63,7 +60,6 @@ export const ContextWrapper = ({ children }) => { } // Case 4: Both Router and ContextWrapper are already present - console.log("Router and ContextWrapper are already present."); return children; };