"use client" import styles from "./admin.module.css" import PostTable from "./post-table" import UserTable from "./user-table" export const adminFetcher = async ( url: string, options?: { method?: string body?: any } ) => fetch("/api/admin" + url, { method: options?.method || "GET", headers: { "Content-Type": "application/json", }, body: options?.body && JSON.stringify(options.body) }) const Admin = () => { return (

Administration

) } export default Admin