1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Fix highlighting of selected asset (#8205)

The current selected asset in the asset list should be highlighted, but
this highlighting was broken for `ETH`. `ETH` was not highlighted when
it was selected, but it would be highlighted when anything else was.

This was broken accidentally in #7546
This commit is contained in:
Mark Stacey 2020-03-17 14:45:46 -03:00 committed by GitHub
parent 5c158ed11d
commit e1d0f3659e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ export default class WalletView extends Component {
return (
<div
className={classnames('flex-column', 'wallet-balance-wrapper', {
'wallet-balance-wrapper--active': Boolean(selectedTokenAddress),
'wallet-balance-wrapper--active': !selectedTokenAddress,
})}
>
<div