'use client';

/**
 * 동적 게시판 등록 페이지
 * DynamicBoardCreateForm 컴포넌트를 사용
 */

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

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

  return <DynamicBoardCreateForm boardCode={boardCode} />;
}