import { RiskPoolDetailConsole } from "@/modules/risk/risk-pool-detail-console";

export default async function AdminDrawRiskPoolDetailPage(props: {
  params: Promise<{ drawId: string; number: string }>;
}) {
  const { drawId, number } = await props.params;
  const id = Number(drawId);

  return <RiskPoolDetailConsole drawId={id} number4d={number} />;
}
