Mercurial
view love/epi/src/routes/chat/index.tsx @ 177:24fe8ff94056
Fixed few issues with current setup.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Wed, 21 Jan 2026 19:40:48 -0800 |
| parents | cf9caa4abc3e |
| children |
line wrap: on
line source
import { createFileRoute, redirect } from '@tanstack/react-router'; export const Route = createFileRoute('/chat/')({ beforeLoad: () => { throw redirect({ to: '/chat/new', replace: true, }); }, });