Skip to content

Commit

Permalink
Uplift of #3201 (squashed) to beta
Browse files Browse the repository at this point in the history
  • Loading branch information
brave-browser-releases committed Aug 19, 2019
1 parent 81e5eb5 commit 9eafcc4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ const cleanData = (state: RewardsExtension.State) => {
state = { ...state }
state.publishers = {}

if (!state.balance) {
const balance = state.balance as any
if (!balance || balance.total == null) {
state.balance = defaultState.balance
}

Expand Down

0 comments on commit 9eafcc4

Please sign in to comment.