mirror of https://github.com/buster-so/buster.git
Refactor AuthLayout to wrap Outlet directly in route component
Co-authored-by: natemkelley <natemkelley@gmail.com>
This commit is contained in:
parent
77436bd21d
commit
967eda7def
|
@ -12,9 +12,5 @@ export const Route = createFileRoute('/auth')({
|
||||||
{ name: 'og:description', content: 'Buster authentication pages' },
|
{ name: 'og:description', content: 'Buster authentication pages' },
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
component: AuthLayout,
|
component: () => <AuthLayout><Outlet /></AuthLayout>,
|
||||||
});
|
});
|
||||||
|
|
||||||
function AuthLayout() {
|
|
||||||
return <Outlet />;
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue