Mercurial
view love/epi/src/routes/chat/index.tsx @ 187:a69485d9f2e1 hg-web
Fixed a small bug.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Fri, 23 Jan 2026 22:41:04 -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, }); }, });