fix redraw more problems
This commit is contained in:
parent
6fbe8c4787
commit
2780418c3e
@ -310,13 +310,13 @@ class WalletHistory extends preact.Component<any, any> {
|
|||||||
if (resp.error) {
|
if (resp.error) {
|
||||||
this.gotError = true;
|
this.gotError = true;
|
||||||
console.error("could not retrieve history", resp);
|
console.error("could not retrieve history", resp);
|
||||||
this.forceUpdate();
|
this.setState({});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.gotError = false;
|
this.gotError = false;
|
||||||
console.log("got history", resp.history);
|
console.log("got history", resp.history);
|
||||||
this.myHistory = resp.history;
|
this.myHistory = resp.history;
|
||||||
this.forceUpdate();
|
this.setState({});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user