10 lines
314 B
TypeScript
10 lines
314 B
TypeScript
import { DashboardLayout } from '@/components/layout/DashboardLayout';
|
|
import type { ReactNode } from 'react';
|
|
|
|
interface ProtectedLayoutRouteProps {
|
|
children: ReactNode;
|
|
}
|
|
|
|
export function ProtectedLayoutRoute({ children }: ProtectedLayoutRouteProps) {
|
|
return <DashboardLayout>{children}</DashboardLayout>;
|
|
}
|