diff --git a/src/entities/common/ui/download-type-bottom-sheet.tsx b/src/entities/common/ui/download-type-bottom-sheet.tsx index 3fe6421..2e9942e 100644 --- a/src/entities/common/ui/download-type-bottom-sheet.tsx +++ b/src/entities/common/ui/download-type-bottom-sheet.tsx @@ -1,6 +1,7 @@ import { BottomSheetMotionDuration, BottomSheetMotionVaiants } from '@/entities/common/model/constant'; import { IMAGE_ROOT } from '@/shared/constants/common'; import { motion } from 'framer-motion'; +import { useTranslation } from 'react-i18next'; export interface DownloadTypeBottomSheetProps { bottomSheetOn: boolean; @@ -13,6 +14,7 @@ export const DownloadTypeBottomSheet = ({ setBottomSheetOn, onSelectType }: DownloadTypeBottomSheetProps) => { + const { t } = useTranslation(); const onClickToClose = () => { setBottomSheetOn(false); @@ -37,14 +39,14 @@ export const DownloadTypeBottomSheet = ({ >