Mercurial
view love/epi/src/routes/chat/index.tsx @ 114:e2a73e64e8e6
[Postdog] Got history working.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Tue, 06 Jan 2026 08:15:37 -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, }); }, });