Mercurial
view love/epi/src/routes/index.tsx @ 102:1065c226e52b
[MrJuneJune] Optimize the binary.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Sat, 03 Jan 2026 08:58:58 -0800 |
| parents | cf9caa4abc3e |
| children |
line wrap: on
line source
import { createFileRoute, redirect } from '@tanstack/react-router'; export const Route = createFileRoute('/')({ beforeLoad: () => { // This runs on navigation to / throw redirect({ to: '/chat/new', replace: true, }); }, });