multipool-ta-fe/app/dashboard/layout.tsx

19 lines
448 B
TypeScript
Raw Permalink Normal View History

2026-04-15 23:38:26 +00:00
import { AppSidebar } from "@/components/ui/app-sidebar"
2026-04-17 09:53:01 +00:00
import { SidebarProvider } from "@/components/ui/sidebar"
2026-04-15 23:38:26 +00:00
export default function DashboardLayout({
children,
}: Readonly<{
children: React.ReactNode
}>) {
return (
<SidebarProvider>
2026-04-17 09:26:44 +00:00
<div className="flex min-h-screen w-full bg-gray-50">
2026-04-15 23:38:26 +00:00
<AppSidebar />
2026-04-17 09:26:44 +00:00
<main className="w-full border-2 bg-gray-50">{children}</main>
2026-04-15 23:38:26 +00:00
</div>
</SidebarProvider>
)
}