import { redirect } from "next/navigation";

/** 兼容旧链接：售罄号码已并入风险池 Tab（筛选售罄）。 */
export default async function AdminDrawRiskSoldOutPage(props: {
  params: Promise<{ drawId: string }>;
}) {
  const { drawId } = await props.params;
  redirect(`/admin/draws/${drawId}/risk/pools?filter=sold_out`);
}
