From 3c4be24f7706b78ab0e8f323cb830cb839fc4c01 Mon Sep 17 00:00:00 2001 From: Pivi Lartisant Date: Fri, 10 May 2024 15:42:16 +0200 Subject: [PATCH] Add WMAS to getAssetTokens (#421) --- src/components/Icons/Svg/FT/tokenIcons.tsx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/components/Icons/Svg/FT/tokenIcons.tsx b/src/components/Icons/Svg/FT/tokenIcons.tsx index 3e7d974a..b4c95219 100644 --- a/src/components/Icons/Svg/FT/tokenIcons.tsx +++ b/src/components/Icons/Svg/FT/tokenIcons.tsx @@ -13,6 +13,7 @@ import { USDCSvg } from './USDCSvg'; import { WEthMassaSvg } from './WEthMassaSvg'; import { WEthSvg } from './WEthSvg'; import { MassaLogo } from '../Massa'; +import { WMasSvg } from './WMasSvg'; export function getAssetIcons( symbolEVM: string, @@ -27,6 +28,7 @@ export function getAssetIcons( WETH: tokens.WETH, USDC: tokens.USDC, DAI: tokens.tDAI, + WMAS: tokens.WMAS, MAS: , }; return icons[symbolEVM as keyof typeof icons]; @@ -55,6 +57,11 @@ function getTokenIcons( ), + WMAS: ( +
+ +
+ ), }; } else if (isMainnet) { return { @@ -73,6 +80,11 @@ function getTokenIcons( ), + WMAS: ( +
+ +
+ ), }; } return { @@ -91,5 +103,10 @@ function getTokenIcons( ), + WMAS: ( +
+ +
+ ), }; }