import { redirect } from "next/navigation";
import { buildPageMetadata } from "@/lib/page-metadata";
import type { Metadata } from "next";

export const metadata: Metadata = buildPageMetadata("draws", "publishTitle");

export default async function AdminDrawPublishBatchPage(props: {
  params: Promise<{ drawId: string; batchId: string }>;
}) {
  const { drawId } = await props.params;
  redirect(`/admin/draws/${drawId}/results`);
}
