Skip to content

Commit 2bcb9c6

Browse files
committed
fix: use Translation component for htmr strings
1 parent 8e65124 commit 2bcb9c6

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/pages/eth.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,9 @@ const EthPage = () => {
468468
description={t("page-eth-whats-defi-description")}
469469
image={defi}
470470
/>
471-
<InfoBanner isWarning>{t('page-eth-weth')}</InfoBanner>
471+
<InfoBanner isWarning>
472+
<Translation id="page-eth:page-eth-weth" />
473+
</InfoBanner>
472474
</Box>
473475
<TextDivider />
474476
<Box>

src/pages/get-eth.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ import dapps from "@/public/doge-computer.png"
4141
import oneinch from "@/public/exchanges/1inch.png"
4242
import bancor from "@/public/exchanges/bancor.png"
4343
import kyber from "@/public/exchanges/kyber.png"
44-
import loopring from "@/public/exchanges/loopring.png"
4544
import hero from "@/public/get-eth.png"
4645
import wallet from "@/public/wallet.png"
4746

@@ -367,7 +366,9 @@ const GetEthPage = ({
367366
<ButtonLink href="/wallets/find-wallet/">
368367
{t("page-get-eth-get-wallet-btn")}
369368
</ButtonLink>
370-
<InfoBanner isWarning>{t("page-get-eth-dexs-desc-4")}</InfoBanner>
369+
<InfoBanner isWarning>
370+
<Translation id="page-get-eth:page-get-eth-dexs-desc-4" />
371+
</InfoBanner>
371372
</LeftColumn>
372373
<RightColumn>
373374
<OldHeading

0 commit comments

Comments
 (0)