第一次提交
This commit is contained in:
13
app-instance/frontend/app/(auth)/layout.tsx
Normal file
13
app-instance/frontend/app/(auth)/layout.tsx
Normal file
@ -0,0 +1,13 @@
|
||||
import AuthGuard from '@/components/AuthGuard';
|
||||
|
||||
export default function AuthLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<AuthGuard minHeightClassName="min-h-screen">
|
||||
<main className="min-h-screen bg-background text-foreground">{children}</main>
|
||||
</AuthGuard>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user