view love/epi/src/routes/chat/index.tsx @ 171:40bd2cb518c1

Closing old bazel tutorial head
author MrJuneJune <me@mrjunejune.com>
date Mon, 19 Jan 2026 17:35:43 -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,
    });
  },
});