"use client";

import { use } from "react";
import { InspectionProgress } from "@/components/inspection/InspectionProgress";

export default function ProgressPage({
  params,
}: {
  params: Promise<{ id: string }>;
}) {
  const { id } = use(params);

  return (
    <div className="container mx-auto px-4 py-8">
      <h1 className="text-2xl font-bold mb-6 text-center">검사 진행 중</h1>
      <InspectionProgress inspectionId={id} />
    </div>
  );
}
