view love/epi/src/routes/chat/index.tsx @ 182:d6ab5921fedc

Merging in changes I had on my mac related to JSON parser and MPC endpoints.
author June Park <parkjune1995@gmail.com>
date Fri, 23 Jan 2026 21:09:49 -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,
    });
  },
});