diff --git a/src/app/[orgId]/settings/layout.tsx b/src/app/[orgId]/settings/layout.tsx
index b277b7f3..0e7c5b55 100644
--- a/src/app/[orgId]/settings/layout.tsx
+++ b/src/app/[orgId]/settings/layout.tsx
@@ -15,30 +15,30 @@ export const dynamic = "force-dynamic";
export const metadata: Metadata = {
title: `Settings - Pangolin`,
- description: "",
+ description: ""
};
const topNavItems = [
{
title: "Sites",
href: "/{orgId}/settings/sites",
- icon: ,
+ icon:
},
{
title: "Resources",
href: "/{orgId}/settings/resources",
- icon: ,
+ icon:
},
{
title: "Access",
href: "/{orgId}/settings/access",
- icon: ,
+ icon:
},
{
title: "General",
href: "/{orgId}/settings/general",
- icon: ,
- },
+ icon:
+ }
];
interface SettingsLayoutProps {
@@ -64,8 +64,8 @@ export default async function SettingsLayout(props: SettingsLayoutProps) {
const getOrgUser = cache(() =>
internal.get>(
`/org/${params.orgId}/user/${user.userId}`,
- cookie,
- ),
+ cookie
+ )
);
const orgUser = await getOrgUser();
@@ -79,7 +79,7 @@ export default async function SettingsLayout(props: SettingsLayoutProps) {
let orgs: ListOrgsResponse["orgs"] = [];
try {
const getOrgs = cache(() =>
- internal.get>(`/orgs`, cookie),
+ internal.get>(`/orgs`, cookie)
);
const res = await getOrgs();
if (res && res.data.data.orgs) {
@@ -103,6 +103,27 @@ export default async function SettingsLayout(props: SettingsLayoutProps) {
{children}
+
+
>
);
}
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index 0802174c..df9854e6 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -19,7 +19,7 @@ export default async function RootLayout({
}>) {
return (
-
+