feat: add pathname retrieval in LayoutWrapper for improved routing logic
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user