Mercurial
view love/epi/src/routes/index.tsx @ 43:5e6a5d3c6868
[Personal] Moving my vim-set up config here.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Mon, 01 Dec 2025 22:43:40 -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, }); }, });