13 lines
321 B
TypeScript
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 />
|
|
}
|