'use client';

/**
 * 검사 상세/수정 페이지 (Client Component)
 * URL: /quality/inspections/[id]
 * 수정 모드: /quality/inspections/[id]?mode=edit
 */

import { use } from 'react';
import { InspectionDetail } from '@/components/quality/InspectionManagement';

interface Props {
  params: Promise<{ id: string }>;
}

export default function InspectionDetailPage({ params }: Props) {
  const { id } = use(params);
  return <InspectionDetail id={id} />;
}