suna/frontend/src/app/dashboard/layout.tsx

25 lines
574 B
TypeScript
Raw Normal View History

2025-04-16 02:14:58 +08:00
import { SidebarLeft } from "@/components/dashboard/sidebar/sidebar-left"
import { SidebarRight } from "@/components/dashboard/sidebar/sidebar-right"
import {
SidebarInset,
SidebarProvider,
SidebarTrigger,
} from "@/components/ui/sidebar"
interface DashboardLayoutProps {
children: React.ReactNode
2025-04-13 00:37:45 +08:00
}
2025-04-16 02:14:58 +08:00
export default async function DashboardLayout({
2025-04-13 00:37:45 +08:00
children,
2025-04-16 02:14:58 +08:00
}: DashboardLayoutProps) {
2025-04-12 02:57:17 +08:00
2025-04-12 08:04:40 +08:00
return (
2025-04-16 02:14:58 +08:00
<SidebarProvider>
<SidebarLeft />
<SidebarInset>
{children}
</SidebarInset>
{/* <SidebarRight /> */}
</SidebarProvider>
)
2025-04-16 01:20:15 +08:00
}