Update index.tsx

This commit is contained in:
Nate Kelley 2025-09-10 16:40:12 -06:00
parent d22e8c8d72
commit fcb51f69df
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
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>,
});