view love/epi/src/routes/index.tsx @ 164:ce05514681c6

[MrJuneJune] Resume links aren't broken due to previous resume.pdf links.
author June Park <parkjune1995@gmail.com>
date Mon, 19 Jan 2026 05:40:22 -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,
    });
  },
});