view love/epi/src/routes/index.tsx @ 50:983769fba767

Updated so that fzf works out of the box.
author June Park <me@mrjunejune.com>
date Tue, 16 Dec 2025 21:01:45 -0500
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,
    });
  },
});