diff --git a/src/app/admin/_client/layout.tsx b/src/app/admin/_client/layout.tsx
index f1e33d1..f5e1285 100644
--- a/src/app/admin/_client/layout.tsx
+++ b/src/app/admin/_client/layout.tsx
@@ -6,7 +6,7 @@ import {merge} from '@/lib/utils'
type AdminLayoutProps = {
navbar: ReactNode
header: ReactNode
- content: ReactNode
+ children: ReactNode
}
export default function Layout(props: AdminLayoutProps) {
@@ -70,11 +70,11 @@ export default function Layout(props: AdminLayoutProps) {
className={merge(
`transition-[margin] duration-300 ease-in-out`,
`absolute inset-0 overflow-hidden`,
- `mt-[64px]`,
- `md:ml-[64px]`,
+ `mt-16`,
+ `md:ml-16`,
`lg:data-[expand=true]:ml-[200px]`,
)}>
- {props.content}
+ {props.children}
)
diff --git a/src/app/admin/_client/navbar.tsx b/src/app/admin/_client/navbar.tsx
index 3373eae..1c928c6 100644
--- a/src/app/admin/_client/navbar.tsx
+++ b/src/app/admin/_client/navbar.tsx
@@ -36,7 +36,7 @@ export default function Navbar(props: NavbarProps) {
{props.label}
@@ -129,7 +129,7 @@ function NavItem(props: {
-
-
-
- >
- )
-}
diff --git a/src/app/admin/layout.tsx b/src/app/admin/layout.tsx
index 3278f33..9471e81 100644
--- a/src/app/admin/layout.tsx
+++ b/src/app/admin/layout.tsx
@@ -23,20 +23,17 @@ export default async function AdminLayout(props: AdminLayoutProps) {
}
header={}
- content={(
- <>
- {props.children}
-
-
- >
- )}
- />
+ >
+ {props.children}
+
+
+
)
}