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

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

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