implemented post management dashboard and started work on projects
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
'use server'
|
||||
|
||||
import AdminPanel from "@/components/server/admin/adminPanel";
|
||||
import { AuthProps } from "@/providers/providers";
|
||||
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>
|
||||
}
|
||||
Reference in New Issue
Block a user