13 lines
396 B
TypeScript
13 lines
396 B
TypeScript
import { Sidebar } from "@/components/layout/sidebar";
|
|
import { AuthGate } from "@/components/auth-gate";
|
|
|
|
export default function DashboardLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<AuthGate>
|
|
<div className="flex min-h-screen w-full bg-background">
|
|
<Sidebar />
|
|
<div className="min-w-0 flex-1">{children}</div>
|
|
</div>
|
|
</AuthGate>
|
|
);
|
|
}
|