Merge pull request #849 from buster-so/nate/many-updates

Update index.tsx
This commit is contained in:
Nate Kelley 2025-09-10 16:40:29 -06:00 committed by GitHub
commit a67fa423d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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>,
});