diff --git a/admin/app/email/layout.tsx b/admin/app/email/layout.tsx
index 64f019ec9..e7ab5eba8 100644
--- a/admin/app/email/layout.tsx
+++ b/admin/app/email/layout.tsx
@@ -10,6 +10,6 @@ export const metadata: Metadata = {
title: "Email Settings - God Mode",
};
-const EmailLayout = ({ children }: EmailLayoutProps) => {children};
-
-export default EmailLayout;
+export default function EmailLayout({ children }: EmailLayoutProps) {
+ return {children};
+}
diff --git a/admin/app/image/layout.tsx b/admin/app/image/layout.tsx
index 18e9343b5..62a58391b 100644
--- a/admin/app/image/layout.tsx
+++ b/admin/app/image/layout.tsx
@@ -10,6 +10,6 @@ export const metadata: Metadata = {
title: "Images Settings - God Mode",
};
-const ImageLayout = ({ children }: ImageLayoutProps) => {children};
-
-export default ImageLayout;
+export default function ImageLayout({ children }: ImageLayoutProps) {
+ return {children};
+}
diff --git a/admin/app/layout.tsx b/admin/app/layout.tsx
index e79d0bac8..9fdce4017 100644
--- a/admin/app/layout.tsx
+++ b/admin/app/layout.tsx
@@ -16,7 +16,7 @@ import { UserProvider } from "@/lib/user-provider";
// styles
import "./globals.css";
-function RootLayout({ children }: { children: ReactNode }) {
+export default function RootLayout({ children }: { children: ReactNode }) {
// themes
const { resolvedTheme } = useTheme();
@@ -44,5 +44,3 @@ function RootLayout({ children }: { children: ReactNode }) {