import { createFileRoute, redirect } from '@tanstack/react-router';

export const Route = createFileRoute('/')({
  // TODO: 登录校验
  beforeLoad: () => {
    throw redirect({ to: '/dashboard' });
  },
});
