import { redirect } from "next/navigation";

export default async function AdminRiskSoldOutRedirectPage(props: {
  params: Promise<{ drawId: string }>;
}) {
  const { drawId } = await props.params;
  redirect(`/admin/draws/${drawId}/risk/pools?filter=sold_out`);
}
