'use client';

/**
 * 설비 상세/수정 페이지
 * URL: /quality/equipment/[id]
 * 수정 모드: /quality/equipment/[id]?mode=edit
 */

import { use } from 'react';
import { EquipmentDetail } from '@/components/quality/EquipmentManagement/EquipmentDetail';

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

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