From c074ddee0b725448f20afca0a20756a7fb4913b3 Mon Sep 17 00:00:00 2001 From: JM Kim <106949557+CSE-Shaco@users.noreply.github.com> Date: Thu, 12 Mar 2026 14:55:00 +0900 Subject: [PATCH] feat: guard dashboard routes for core and above --- src/app/dashboard/layout.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/app/dashboard/layout.tsx diff --git a/src/app/dashboard/layout.tsx b/src/app/dashboard/layout.tsx new file mode 100644 index 0000000..def2c51 --- /dev/null +++ b/src/app/dashboard/layout.tsx @@ -0,0 +1,11 @@ +import type { ReactNode } from 'react' + +import ApiCodeGuard from '@/components/auth/ApiCodeGuard' + +export default function DashboardLayout({ children }: { children: ReactNode }) { + return ( + + {children} + + ) +}