admin panel progress
This commit is contained in:
@@ -8,10 +8,9 @@ import { ReactNode } from "react";
|
||||
|
||||
interface Props {
|
||||
children?: ReactNode;
|
||||
auth?: AuthProps;
|
||||
slug?: string;
|
||||
}
|
||||
|
||||
export default async function ServerAdminPanel(props:Props){
|
||||
return <AdminPanel slug={props.slug?props.slug:'home'} auth={props.auth}>{props.children}</AdminPanel>
|
||||
return <AdminPanel slug={props.slug?props.slug:'home'}>{props.children}</AdminPanel>
|
||||
}
|
||||
Reference in New Issue
Block a user