mirror of https://github.com/buster-so/buster.git
Update index.tsx
This commit is contained in:
parent
d22e8c8d72
commit
fcb51f69df
|
@ -3,7 +3,7 @@ import { createFileRoute, redirect } from '@tanstack/react-router';
|
|||
export const Route = createFileRoute('/')({
|
||||
beforeLoad: async () => {
|
||||
console.log('redirecting to /app/home');
|
||||
throw redirect({ to: '/app/home', replace: true, statusCode: 302 });
|
||||
// throw redirect({ to: '/app/home', replace: true, statusCode: 302 });
|
||||
},
|
||||
component: () => null,
|
||||
component: () => <div>Hello to you</div>,
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue