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
feature/default_network_editable
Mark Stacey 5 years ago committed by GitHub
parent 5c158ed11d
commit e1d0f3659e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ui/app/components/app/wallet-view/wallet-view.component.js

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

Loading…
Cancel
Save