Skip to content

Commit

Permalink
fix token.symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammadPCh committed Oct 3, 2024
1 parent 5abda0e commit b7ecd72
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ const SelectTokenInnerModal: FC<ISelectTokenModalProps> = ({
},
);

console.log('token', tokens);

return (
<>
<Wrapper>
Expand All @@ -143,6 +145,11 @@ const SelectTokenInnerModal: FC<ISelectTokenModalProps> = ({
const token = superTokens.find(
token => token.id === tokenId,
) as IToken;
if (!token?.symbol) {
console.log('token', token);
return;
}

return (
<StreamInfo
key={tokenId}
Expand Down

0 comments on commit b7ecd72

Please sign in to comment.