From 2af91fcf79c6bde3f29aeb243f4be9c9e55c970b Mon Sep 17 00:00:00 2001 From: JavidHaji-zada Date: Fri, 8 Dec 2023 15:13:17 +0400 Subject: [PATCH] fix token logo --- src/components/modular/TokenLogo/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/modular/TokenLogo/index.tsx b/src/components/modular/TokenLogo/index.tsx index adbcfd220..5d66c962a 100644 --- a/src/components/modular/TokenLogo/index.tsx +++ b/src/components/modular/TokenLogo/index.tsx @@ -27,11 +27,13 @@ export interface TokenLogoProps { export const TokenLogo = (props: TokenLogoProps) => { const { scale, token, overrideIconVariants = { amb: 'blue' } } = props; switch (token.toLowerCase()) { - case 'airdao': + case AirDAODictTypes.Code.AMB.toLowerCase(): + case 'airdao': { if (overrideIconVariants.amb === 'white') { return ; } return ; + } case AirDAODictTypes.Code.ETH.toLowerCase(): case 'ethereum': return ;