refactor(client): clean extra component (#50893)

This commit is contained in:
Muhammed Mustafa
2023-07-06 16:26:11 +03:00
committed by GitHub
parent c7a3c6ce52
commit 2d3a6427f5

View File

@@ -52,11 +52,6 @@ type DonateModalProps = {
show: boolean;
};
const GetCommonDonationText = ({ ctaNumber }: { ctaNumber: number }) => {
const { t } = useTranslation();
return <b>{t(`donate.progress-modal-cta-${ctaNumber}`)}</b>;
};
const RenderIlustration = ({
recentlyClaimedBlock
}: {
@@ -155,7 +150,7 @@ function DonateModal({
})}
</b>
)}
<GetCommonDonationText ctaNumber={ctaNumber} />
<b>{t(`donate.progress-modal-cta-${ctaNumber}`)}</b>
</Col>
)}
</Row>