veza/apps/web/src/router/ProtectedLayoutRoute.tsx
2026-02-07 04:16:37 +01:00

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>;
}