import { DrawResultDetailScreen } from "@/features/results/draw-result-detail-screen";

type PageProps = {
  params: Promise<{ drawNo: string }>;
};

export default async function DrawResultByNoPage(props: PageProps) {
  const { drawNo: raw } = await props.params;
  const drawNo = decodeURIComponent(raw);

  return (
    <div className="flex flex-col gap-3">
      <DrawResultDetailScreen drawNo={drawNo} />
    </div>
  );
}
