import * as React from 'react';

import { AuthGuard } from '@/components/auth/auth-guard';
import { DashboardShell } from '@/components/dashboard/layout/dashboard-shell';

interface LayoutProps {
  children: React.ReactNode;
}

export default function Layout({ children }: LayoutProps): React.JSX.Element {
  return (
    <AuthGuard>
      <DashboardShell>{children}</DashboardShell>
    </AuthGuard>
  );
}
