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

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

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