Files
fullstack-fuware/src/routes/(app)/(auth)/route.tsx

15 lines
347 B
TypeScript

import { createFileRoute, Outlet } from '@tanstack/react-router';
export const Route = createFileRoute('/(app)/(auth)')({
// beforeLoad: async ({ context }) => {
// if (!context.userSession) {
// throw redirect({ to: '/sign-in' });
// }
// },
component: RouteComponent,
});
function RouteComponent() {
return <Outlet />;
}