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

export const metadata: Metadata = buildPageMetadata("draws", "subnav.finance");

export default async function AdminDrawFinancePage(props: {
  params: Promise<{ drawId: string }>;
}) {
  const { drawId } = await props.params;
  return <DrawFinanceConsole drawId={drawId} />;
}
