Skip to content

Commit

Permalink
Fixed issue where account switch only happened if clicking on the acc…
Browse files Browse the repository at this point in the history
…ount name
  • Loading branch information
rocky-fleek committed Oct 24, 2022
1 parent 4cc126b commit 065bc0f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions source/components/Profile/components/AccountItem/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,9 @@ const AccountItem = ({
classes.accountItemContainer,
isHidden && classes.hiddenAccount,
)}
onClick={(e) => handleChangeAccount(e, account.walletId)}
>
<div
onClick={(e) => handleChangeAccount(e, account.walletId)}
className={classes.leftContainer}
>
<div className={classes.leftContainer}>
<UserIcon
size="small"
icon={account?.icon ?? '👽'}
Expand Down

0 comments on commit 065bc0f

Please sign in to comment.