Files
dashboards/app/customer/layout.tsx
T

15 lines
339 B
TypeScript

import { ProtectedRoute } from "@/components/AuthGuards";
import CustomerShell from "@/components/CustomerShell";
export default function CustomerLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<ProtectedRoute requiredApp="customer">
<CustomerShell>{children}</CustomerShell>
</ProtectedRoute>
);
}