From 9c7153bb49b03c5705da9265c4e7ccb47bab9778 Mon Sep 17 00:00:00 2001 From: Zoe-997 Date: Fri, 26 Jul 2024 17:03:25 +0700 Subject: [PATCH] hotfix: error build --- app/admin/(inner-admin)/files/page.tsx | 2 +- app/admin/(inner-admin)/layout.tsx | 2 +- app/components/Common/adminLayout.tsx | 8 +++----- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/app/admin/(inner-admin)/files/page.tsx b/app/admin/(inner-admin)/files/page.tsx index 45c54d6..a91ed50 100644 --- a/app/admin/(inner-admin)/files/page.tsx +++ b/app/admin/(inner-admin)/files/page.tsx @@ -33,7 +33,7 @@ export default function Files() {
{items.map((item: any) => ( - + {item.label} ))} diff --git a/app/admin/(inner-admin)/layout.tsx b/app/admin/(inner-admin)/layout.tsx index a760c3a..7f93155 100644 --- a/app/admin/(inner-admin)/layout.tsx +++ b/app/admin/(inner-admin)/layout.tsx @@ -21,7 +21,7 @@ export default async function RootLayout({ className={`${fontBase.className} bg-[#f5f5f5] overflow-hidden`} suppressHydrationWarning={true} > - + {children} ); diff --git a/app/components/Common/adminLayout.tsx b/app/components/Common/adminLayout.tsx index 4ac976f..e9dd80a 100644 --- a/app/components/Common/adminLayout.tsx +++ b/app/components/Common/adminLayout.tsx @@ -10,11 +10,9 @@ const AdminLayout = ({ children }: { children: React.ReactNode }) => { return ( - + + {children} + ); };