From 9ef266ecdce5bb4bae16ff09268a08402e00f643 Mon Sep 17 00:00:00 2001 From: Peterjah Date: Mon, 18 Nov 2024 11:41:05 +0100 Subject: [PATCH] add POM icon --- .../Icons/Svg/ChainIcons/Sepolia.tsx | 2 +- src/components/Icons/Svg/FT/POM.tsx | 32 +++++++++++++++++++ src/components/Icons/Svg/FT/index.ts | 1 + src/components/Icons/Svg/FT/tokenIcons.tsx | 3 +- 4 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 src/components/Icons/Svg/FT/POM.tsx diff --git a/src/components/Icons/Svg/ChainIcons/Sepolia.tsx b/src/components/Icons/Svg/ChainIcons/Sepolia.tsx index 80eec237..616eefb8 100644 --- a/src/components/Icons/Svg/ChainIcons/Sepolia.tsx +++ b/src/components/Icons/Svg/ChainIcons/Sepolia.tsx @@ -17,7 +17,7 @@ export function Sepolia(props: SVGProps) { {...rest} > - + + + + + + + + ); +} diff --git a/src/components/Icons/Svg/FT/index.ts b/src/components/Icons/Svg/FT/index.ts index b79125c9..8b8be79a 100644 --- a/src/components/Icons/Svg/FT/index.ts +++ b/src/components/Icons/Svg/FT/index.ts @@ -6,5 +6,6 @@ export * from './FT1'; export * from './WMAS'; export * from './USDT'; export * from './PUR'; +export * from './POM'; export * from './tokenIcons'; export * from './svgInterface'; diff --git a/src/components/Icons/Svg/FT/tokenIcons.tsx b/src/components/Icons/Svg/FT/tokenIcons.tsx index ad7811c7..39cecec4 100644 --- a/src/components/Icons/Svg/FT/tokenIcons.tsx +++ b/src/components/Icons/Svg/FT/tokenIcons.tsx @@ -4,7 +4,7 @@ import React, { ComponentPropsWithoutRef } from 'react'; import { ReactNode } from 'react'; import { bsc, bscTestnet, mainnet, sepolia } from 'viem/chains'; import { MassaLogo } from '../Massa'; -import { BNB, DAI, USDC, USDT, FT1, WMAS, WETH, PUR, SVGProps } from '.'; +import { BNB, DAI, USDC, USDT, FT1, WMAS, WETH, PUR, SVGProps, POM } from '.'; import { Bsc, BscBridged, @@ -98,6 +98,7 @@ export function getAssetIcons( WMAS: createNativeFt(WMAS, size), USDT: createNativeFt(USDT, size), PUR: createNativeFt(PUR, size), + POM: createNativeFt(POM, size), MAS: , // Overwrite ...getTokenIcons(isNative, originChainId, size),