Skip to content

Commit 0c06c6c

Browse files
committed
fix icon display
1 parent e2c0b41 commit 0c06c6c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/token/tokenLogos.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
export const TOKEN_LOGOS: Record<string, string> = {
2-
'0x7A9ab9D0E2ca7472d1339F082F79F2F712F8Ebc9': 'tokens/fusd',
2+
'0x7a9ab9d0e2ca7472d1339f082f79f2f712f8ebc9': 'tokens/fusd',
3+
'0x9d4103b780eefe35429110fab1e9acc8af1ae466': 'tokens/fusd',
34
};

ui/shared/entities/token/TokenEntity.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const Icon = (props: IconProps) => {
4848
return <Skeleton { ...styles } className={ props.className }/>;
4949
}
5050

51-
const tokenIcon = TOKEN_LOGOS?.[props.token.address] as IconName || undefined;
51+
const tokenIcon = TOKEN_LOGOS?.[props.token.address.toLowerCase()] as IconName || undefined;
5252

5353
return (
5454
<Image

0 commit comments

Comments
 (0)