Files
starter-e2e-mrf9dd3o/apps/app/src/routes/app.tsx
2026-07-10 20:17:46 +02:00

13 lines
321 B
TypeScript

import { createFileRoute } from '@tanstack/react-router'
import { AppShell } from '@/components/AppShell'
import { useRequireAuthentication } from '@/hooks/useAuthGate'
export const Route = createFileRoute('/app')({
component: AppLayout,
})
function AppLayout() {
useRequireAuthentication()
return <AppShell />
}