Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gambinish committed Sep 19, 2024
1 parent e32d9f5 commit 17e18a8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ui/components/multichain/token-list-item/token-list-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@ export const TokenListItem = ({

const decimalChainId = isEvm && parseInt(hexToDecimal(chainId), 10);

const [safeChainDetails] =
safeChains &&
safeChains.filter((chain) => {
return chain.chainId === decimalChainId;
});
const [safeChainDetails] = safeChains
? safeChains.filter((chain) => {
return chain.chainId === decimalChainId.toString();
})
: [];

// Scam warning
const showScamWarning =
Expand Down

0 comments on commit 17e18a8

Please sign in to comment.