import { useTranslation, Trans } from 'react-i18next' import Notification from '@/shared/components/notification' import { OLModalBody, OLModalFooter, } from '@/shared/components/ol/ol-modal' import OLButton from '@/shared/components/ol/ol-button' import { ProjectSyncState } from '../../types/git-sync-types' type GitSyncNeedPermissionModalProps = { projectSyncState: ProjectSyncState handleHide: () => void } const GitSyncNeedPermissionModal = ({ projectSyncState, handleHide }: GitSyncConflictModalProps) => { const { t } = useTranslation() return ( <> ) : ( <> ), projectSyncState.ownerEmail ? : <> ]} /> )} /> {t('close')} ) } export default GitSyncNeedPermissionModal