diff --git a/client/src/components/Donation/donation-modal.tsx b/client/src/components/Donation/donation-modal.tsx index c81fe4e06bf..3d4bced278d 100644 --- a/client/src/components/Donation/donation-modal.tsx +++ b/client/src/components/Donation/donation-modal.tsx @@ -52,11 +52,6 @@ type DonateModalProps = { show: boolean; }; -const GetCommonDonationText = ({ ctaNumber }: { ctaNumber: number }) => { - const { t } = useTranslation(); - return {t(`donate.progress-modal-cta-${ctaNumber}`)}; -}; - const RenderIlustration = ({ recentlyClaimedBlock }: { @@ -155,7 +150,7 @@ function DonateModal({ })} )} - + {t(`donate.progress-modal-cta-${ctaNumber}`)} )}