import { DrawPublishConsole } from "@/modules/draws/draw-publish-console";
import { buildPageMetadata } from "@/lib/page-metadata";
import type { Metadata } from "next";

export const metadata: Metadata = buildPageMetadata("draws", "publishTitle");

export default async function AdminDrawPublishBatchPage(props: {
  params: Promise<{ drawId: string; batchId: string }>;
}) {
  const { drawId, batchId } = await props.params;
  return <DrawPublishConsole drawId={drawId} batchId={batchId} />;
}
