import { WorkflowDetailScreen } from "@/features/workflows/workflow-detail";

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

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

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