import { RiskPoolsConsole } from "@/modules/risk/risk-pools-console";

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

  return (
    <RiskPoolsConsole
      drawId={id}
      titleKey="soldOutPageTitle"
      soldOutOnly
      defaultSort="number_asc"
    />
  );
}
