Browse Source

fix(ui): show wallet once balances are loaded

Due to a recent change in the way that we handle numeric data from gRPC
we need to be explicit when checking for unset/null values.
renovate/lint-staged-8.x
Tom Kirkpatrick 6 years ago
parent
commit
a63bbacd40
No known key found for this signature in database GPG Key ID: 72203A8EC5967EA8
  1. 2
      app/routes/activity/components/Activity.js

2
app/routes/activity/components/Activity.js

@ -90,7 +90,7 @@ class Activity extends Component {
walletProps
} = this.props
if (!balance.channelBalance || !balance.walletBalance) {
if (balance.channelBalance === null || balance.walletBalance === null) {
return <LoadingBolt />
}

Loading…
Cancel
Save