Co-authored-by: Jason Woltje <[email protected]> Co-committed-by: Jason Woltje <[email protected]>
12 lines
342 B
TypeScript
12 lines
342 B
TypeScript
import type { ReactNode } from 'react';
|
|
import { AppShell } from '@/components/layout/app-shell';
|
|
import { AuthGuard } from '@/components/auth-guard';
|
|
|
|
export default function DashboardLayout({ children }: { children: ReactNode }): React.ReactElement {
|
|
return (
|
|
<AuthGuard>
|
|
<AppShell>{children}</AppShell>
|
|
</AuthGuard>
|
|
);
|
|
}
|