We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 92863dd + 1bc8015 commit 1450d33Copy full SHA for 1450d33
src/app/core_attendance/layout.js
@@ -1,11 +1,15 @@
1
-import { Suspense } from "react";
2
-import Loader from "@/components/ui/common/Loader.jsx";
+import MenuHeader from "@/components/ui/common/MenuHeader";
+import ApiCodeGuard from "@/components/auth/ApiCodeGuard.jsx";
3
4
export const metadata = {
5
- title: "Core Attendance",
6
- description: "GDGoC INHA Core Attendance Management",
+ title: "Core Attendance", description: "GDGoC INHA Core Attendance Management",
7
};
8
9
-export default function CoreAttendanceLayout({ children }) {
10
- return <Suspense fallback={<Loader />}>{children}</Suspense>;
+export default function CoreAttendanceLayout({children}) {
+ return (<ApiCodeGuard>
+ <>
11
+ <MenuHeader/>
12
+ {children}
13
+ </>
14
+ </ApiCodeGuard>);
15
}
0 commit comments