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; };