import {
  getPartialsConfig,
  makePartials,
} from "$root/defaults/makePartials.tsx";
import { FreshContext } from "$fresh/server.ts";
import { State } from "$root/defaults/interfaces.ts";
import AdminPermissions from "../(_islands)/AdminPermissions.tsx";

// deno-lint-ignore require-await
async function Permissions(
  _request: Request,
  _context: FreshContext<State>,
) {
  return <AdminPermissions />;
}

export const config = getPartialsConfig();
export default makePartials(Permissions);
