Files
server-serverless-e2e-mqxnonff/apps/app/src/routes/index.tsx
2026-06-28 12:38:36 +02:00

13 lines
332 B
TypeScript

import { createFileRoute } from '@tanstack/react-router'
import { LandingPage } from '@/pages/LandingPage'
import { useRedirectIfAuthenticated } from '@/hooks/useAuthGate'
export const Route = createFileRoute('/')({
component: LandingRoute,
})
function LandingRoute() {
useRedirectIfAuthenticated()
return <LandingPage />
}