veza/apps/web/src/router/ProtectedLayoutRoute.tsx

11 lines
314 B
TypeScript
Raw Normal View History

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