Refactor AuthLayout to wrap Outlet directly in route component

Co-authored-by: natemkelley <natemkelley@gmail.com>
This commit is contained in:
Cursor Agent 2025-08-16 19:02:49 +00:00
parent 77436bd21d
commit 967eda7def
1 changed files with 1 additions and 5 deletions

View File

@ -12,9 +12,5 @@ export const Route = createFileRoute('/auth')({
{ name: 'og:description', content: 'Buster authentication pages' },
],
}),
component: AuthLayout,
component: () => <AuthLayout><Outlet /></AuthLayout>,
});
function AuthLayout() {
return <Outlet />;
}