import { TicketOrderDetailScreen } from "@/features/orders/ticket-order-detail-screen";

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

/** 界面文档 §4.8 注单详情 */
export default async function OrderDetailPage({ params }: PageProps) {
  const { ticketNo } = await params;

  return <TicketOrderDetailScreen ticketNo={decodeURIComponent(ticketNo)} />;
}
