website refactor
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { headers } from 'next/headers';
|
||||
import { redirect } from 'next/navigation';
|
||||
import { createRouteGuard } from '@/lib/auth/createRouteGuard';
|
||||
import { AuthContainer } from '@/ui/AuthContainer';
|
||||
import { AuthShell } from '@/components/auth/AuthShell';
|
||||
|
||||
interface AuthLayoutProps {
|
||||
children: React.ReactNode;
|
||||
@@ -27,5 +27,5 @@ export default async function AuthLayout({ children }: AuthLayoutProps) {
|
||||
redirect(result.to);
|
||||
}
|
||||
|
||||
return <AuthContainer>{children}</AuthContainer>;
|
||||
return <AuthShell>{children}</AuthShell>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user