import { useFormContext } from "react-hook-form"; import { useTranslation } from "@plane/i18n"; import { IProject } from "@plane/types"; // ui import { Button } from "@plane/ui"; // constants import { ETabIndices } from "@/constants/tab-indices"; // helpers import { getTabIndex } from "@/helpers/tab-indices.helper"; type Props = { handleClose: () => void; isMobile?: boolean; }; const ProjectCreateButtons: React.FC = (props) => { const { t } = useTranslation(); const { handleClose, isMobile = false } = props; const { formState: { isSubmitting }, } = useFormContext(); const { getIndex } = getTabIndex(ETabIndices.PROJECT_CREATE, isMobile); return (
); }; export default ProjectCreateButtons;