feat: add pathname retrieval in LayoutWrapper for improved routing logic

This commit is contained in:
Christopher
2026-01-22 09:19:09 -08:00
parent 1f907a4ace
commit 1f24c3ab09
+1
View File
@@ -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 =