mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-30 14:26:36 +08:00
17 lines
470 B
TypeScript
17 lines
470 B
TypeScript
import type { ReactNode } from 'react';
|
|
|
|
import { DashboardShell } from '@/components/layout/dashboard-shell';
|
|
import { DashboardAuthGuard } from '@/features/auth/components/dashboard-auth-guard';
|
|
|
|
interface DashboardLayoutProps {
|
|
children: ReactNode;
|
|
}
|
|
|
|
export default function DashboardLayout({ children }: DashboardLayoutProps) {
|
|
return (
|
|
<DashboardAuthGuard>
|
|
<DashboardShell>{children}</DashboardShell>
|
|
</DashboardAuthGuard>
|
|
);
|
|
}
|