'use client';

/**
 * 거래처(영업) 상세/수정 페이지
 * IntegratedDetailTemplate V2 마이그레이션
 *
 * URL 패턴:
 * - /[id] : view 모드
 * - /[id]?mode=edit : edit 모드
 */

import { useParams } from 'next/navigation';
import { ClientDetailClientV2 } from '@/components/clients/ClientDetailClientV2';

export default function ClientDetailPage() {
  const params = useParams();
  const id = params.id as string;

  return <ClientDetailClientV2 clientId={id} />;
}
