From fab28bfcc1268ca7f6cc296c9030314efc9494e4 Mon Sep 17 00:00:00 2001 From: Nathan Seva Date: Wed, 17 Jul 2024 11:29:37 -0500 Subject: [PATCH] WETH icon for ETH symbol on BSC --- src/components/Icons/Svg/FT/FTIcons.stories.tsx | 1 + src/components/Icons/Svg/FT/tokenIcons.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/components/Icons/Svg/FT/FTIcons.stories.tsx b/src/components/Icons/Svg/FT/FTIcons.stories.tsx index 8856adea..d647c67a 100644 --- a/src/components/Icons/Svg/FT/FTIcons.stories.tsx +++ b/src/components/Icons/Svg/FT/FTIcons.stories.tsx @@ -101,6 +101,7 @@ export const _FT = {
{getAssetIcons(symbol, bsc.id, false)}
); })} +
{getAssetIcons('ETH', bsc.id, false)}

Mapping eth token list

diff --git a/src/components/Icons/Svg/FT/tokenIcons.tsx b/src/components/Icons/Svg/FT/tokenIcons.tsx index ad7811c7..454c4635 100644 --- a/src/components/Icons/Svg/FT/tokenIcons.tsx +++ b/src/components/Icons/Svg/FT/tokenIcons.tsx @@ -127,6 +127,7 @@ const tokenIcons: { [key: string]: (props: SVGProps) => JSX.Element } = { DAI: DAI, USDC: USDC, WETH: WETH, + ETH: WETH, // On BSC, ETH wrapped token is named ETH BNB: BNB, USDT: USDT, };