Skip to content

Commit

Permalink
fix - refresh fixed missing BTC/BCH data in request modal
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-blockchain committed Jul 2, 2018
1 parent b66730e commit 3032b81
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ class RequestBchContainer extends React.PureComponent {
}

handleRefresh () {
const { bchDataActions, initialValues } = this.props
if (!Remote.Success.is(initialValues)) return bchDataActions.fetchData()

this.init()
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ class FirstStepContainer extends React.PureComponent {
}

handleRefresh () {
const { bitcoinDataActions, initialValues } = this.props
if (!Remote.Success.is(initialValues)) return bitcoinDataActions.fetchData()

this.init()
}

Expand Down

0 comments on commit 3032b81

Please sign in to comment.