Skip to content

Commit 1450d33

Browse files
authored
Merge pull request #168 from GDGoCINHA/develop
Merge branch 'develop'
2 parents 92863dd + 1bc8015 commit 1450d33

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

src/app/core_attendance/layout.js

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1-
import { Suspense } from "react";
2-
import Loader from "@/components/ui/common/Loader.jsx";
1+
import MenuHeader from "@/components/ui/common/MenuHeader";
2+
import ApiCodeGuard from "@/components/auth/ApiCodeGuard.jsx";
33

44
export const metadata = {
5-
title: "Core Attendance",
6-
description: "GDGoC INHA Core Attendance Management",
5+
title: "Core Attendance", description: "GDGoC INHA Core Attendance Management",
76
};
87

9-
export default function CoreAttendanceLayout({ children }) {
10-
return <Suspense fallback={<Loader />}>{children}</Suspense>;
8+
export default function CoreAttendanceLayout({children}) {
9+
return (<ApiCodeGuard>
10+
<>
11+
<MenuHeader/>
12+
{children}
13+
</>
14+
</ApiCodeGuard>);
1115
}

0 commit comments

Comments
 (0)