import { observer } from 'mobx-react-lite';
import React from 'react';
import NewSiteForm from 'App/components/Client/Sites/NewSiteForm';
import { useModal } from 'App/components/Modal';
import { useStore } from 'App/mstore';
import { Icon } from 'UI';
import { useTranslation } from 'react-i18next';
function NewProjectButton() {
const { t } = useTranslation();
const { projectsStore } = useStore();
const { showModal, hideModal } = useModal();
const onClick = () => {
projectsStore.initProject({});
showModal(