import { useTranslation } from 'react-i18next' import { useProjectContext } from '../../../shared/context/project-context' import Icon from '../../../shared/components/icon' import * as eventTracking from '../../../infrastructure/event-tracking' import { isSmallDevice } from '../../../infrastructure/event-tracking' export default function DownloadSource() { const { t } = useTranslation() const { _id: projectId } = useProjectContext() function sendDownloadEvent() { eventTracking.sendMB('download-zip-button-click', { projectId, location: 'left-menu', isSmallDevice, }) } return (
{t('source')}
) }