"use client";

import { ResponsiveModal } from "@/components/responsive-modal";

import { useCreateEpicModal } from "../hooks/use-create-epic-modal";
import { CreateEpicFormWrapper } from "./create-epic-form-wrapper";

export const CreateEpicModal = () => {
  const { isOpen, setIsOpen, close } = useCreateEpicModal();

  return (
    <ResponsiveModal open={isOpen} onOpenChange={setIsOpen}>
      <CreateEpicFormWrapper onCancel={close} />
    </ResponsiveModal>
  );
}; 