From 1f24c3ab099bb3ebc36800084aae9853b46498ae Mon Sep 17 00:00:00 2001 From: Christopher Date: Thu, 22 Jan 2026 09:19:09 -0800 Subject: [PATCH] feat: add pathname retrieval in LayoutWrapper for improved routing logic --- src/components/LayoutWrapper.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/LayoutWrapper.tsx b/src/components/LayoutWrapper.tsx index 17cdcee..c343620 100644 --- a/src/components/LayoutWrapper.tsx +++ b/src/components/LayoutWrapper.tsx @@ -8,6 +8,7 @@ import { useAuth } from '@/lib/contexts/AuthContext'; export function LayoutWrapper({ children }: { children: React.ReactNode }) { const { loading } = useAuth(); + const pathname = usePathname(); // Paths that should NOT have the app layout const isStandalone =