mirror of https://github.com/buster-so/buster.git
Merge pull request #849 from buster-so/nate/many-updates
Update index.tsx
This commit is contained in:
commit
a67fa423d0
|
@ -3,7 +3,7 @@ import { createFileRoute, redirect } from '@tanstack/react-router';
|
||||||
export const Route = createFileRoute('/')({
|
export const Route = createFileRoute('/')({
|
||||||
beforeLoad: async () => {
|
beforeLoad: async () => {
|
||||||
console.log('redirecting to /app/home');
|
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