Skip to content

Commit

Permalink
fix: asset image in select (#1981)
Browse files Browse the repository at this point in the history
  • Loading branch information
foodaka authored Mar 11, 2024
1 parent d365113 commit 2c5dfe8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/transactions/Switch/SwitchAssetInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,8 @@ export const SwitchAssetInput = ({
}}
onClick={() => handleSelect(asset)}
>
<TokenIcon
<ExternalTokenIcon
logoURI={asset.logoURI}
symbol={asset.symbol}
sx={{ width: 24, height: 24, mr: 1 }}
/>
Expand Down Expand Up @@ -337,6 +338,7 @@ export const SwitchAssetInput = ({
? assets[0]
: assets && assets.find((asset) => asset.symbol === symbol);
invariant(asset, 'Asset not found');

return (
<Box
sx={{ display: 'flex', alignItems: 'center' }}
Expand Down

2 comments on commit 2c5dfe8

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit was deployed on ipfs

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit was deployed on ipfs

Please sign in to comment.