'use client';

/**
 * 구조검토 상세 페이지 (V2)
 *
 * /structure-review/[id] → 조회 모드
 * /structure-review/[id]?mode=edit → 수정 모드
 */

import { use } from 'react';
import { StructureReviewDetailClientV2 } from '@/components/business/construction/structure-review/StructureReviewDetailClientV2';

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

export default function StructureReviewDetailPage({ params }: StructureReviewDetailPageProps) {
  const { id } = use(params);
  return <StructureReviewDetailClientV2 reviewId={id} />;
}
