Skip to content

Commit

Permalink
Merge branch 'dev' into stage
Browse files Browse the repository at this point in the history
  • Loading branch information
JavidHaji-zada committed Dec 8, 2023
2 parents 7bf8ef7 + 2af91fc commit 27e5d60
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/modular/TokenLogo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 <AirdaoWhiteIcon scale={scale} />;
}
return <AirdaoBlueIcon scale={scale} />;
}
case AirDAODictTypes.Code.ETH.toLowerCase():
case 'ethereum':
return <EthTokenIcon scale={scale} />;
Expand Down

0 comments on commit 27e5d60

Please sign in to comment.