Browse Source

Fix load state never set to true

master
Thibaut Boustany 7 years ago
parent
commit
9bb58d8fc6
No known key found for this signature in database GPG Key ID: 32475B11A2B13EEC
  1. 4
      src/components/modals/ReleaseNotes.js

4
src/components/modals/ReleaseNotes.js

@ -156,6 +156,10 @@ class ReleaseNotes extends PureComponent<Props, State> {
fetchNotes = version => {
if (!this.state.loading) {
this.setState({
loading: true
})
axios
.get(`https://api.github.com/repos/LedgerHQ/ledger-live-desktop/releases/tags/v${version}`)
.then(response => {

Loading…
Cancel
Save