'use client';

/**
 * 동적 게시판 수정 페이지
 * DynamicBoardEditForm 컴포넌트를 사용
 */

import { useParams } from 'next/navigation';
import { DynamicBoardEditForm } from '@/components/board/DynamicBoard/DynamicBoardEditForm';

export default function DynamicBoardEditPage() {
  const params = useParams();
  const boardCode = params.boardCode as string;
  const postId = params.postId as string;

  return <DynamicBoardEditForm boardCode={boardCode} postId={postId} />;
}