Files
loyaly-merchant/src/app/(workspace)/layout.tsx

17 lines
496 B
TypeScript

import {ProtectedLayout} from '@/shared/layouts/ProtectedLayout';
/**
* The route-group boundary for every authenticated screen.
*
* Deliberately thin: the composition lives in ProtectedLayout, so this file
* never needs editing again and the shell can be reused (tests, a future
* embedded view) without a route existing for it.
*/
export default function WorkspaceRouteLayout({
children,
}: {
children: React.ReactNode;
}) {
return <ProtectedLayout>{children}</ProtectedLayout>;
}