aboutsummaryrefslogtreecommitdiff
path: root/popup
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-10-18 02:58:46 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-10-18 02:58:46 +0200
commit2780418c3e2b8cdbfda7738bdfcecf62fc730191 (patch)
tree4b6ea4698e1adf700e1696d634d745b517d3811e /popup
parent6fbe8c4787ea83e928d245e11e6f82a434d6baa0 (diff)
downloadwallet-core-2780418c3e2b8cdbfda7738bdfcecf62fc730191.tar.xz
fix redraw more problems
Diffstat (limited to 'popup')
-rw-r--r--popup/popup.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/popup/popup.tsx b/popup/popup.tsx
index 878435a72..000cf1160 100644
--- a/popup/popup.tsx
+++ b/popup/popup.tsx
@@ -310,13 +310,13 @@ class WalletHistory extends preact.Component<any, any> {
if (resp.error) {
this.gotError = true;
console.error("could not retrieve history", resp);
- this.forceUpdate();
+ this.setState({});
return;
}
this.gotError = false;
console.log("got history", resp.history);
this.myHistory = resp.history;
- this.forceUpdate();
+ this.setState({});
});
}