Skip to content

Commit

Permalink
fix: nextjs icon import
Browse files Browse the repository at this point in the history
  • Loading branch information
chybisov committed Aug 17, 2022
1 parent e6e1eaf commit 0b023ce
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ export const SelectWalletPage = () => {
disableRipple
>
<ListItemAvatar>
<Avatar src={wallet.icon} alt={wallet.name}>
<Avatar
src={(wallet.icon as any).src || wallet.icon}
alt={wallet.name}
>
{wallet.name[0]}
</Avatar>
</ListItemAvatar>
Expand Down

0 comments on commit 0b023ce

Please sign in to comment.