import { OrderDetailScreen } from "@/features/orders/order-detail";

type OrderDetailPageProps = {
  params: Promise<{
    orderId: string;
  }>;
};

export default async function OrderDetailPage({
  params,
}: OrderDetailPageProps) {
  const { orderId } = await params;

  return <OrderDetailScreen orderId={Number(orderId)} />;
}
