From 2780418c3e2b8cdbfda7738bdfcecf62fc730191 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 18 Oct 2016 02:58:46 +0200 Subject: [PATCH] fix redraw more problems --- popup/popup.tsx | 4 ++-- 1 file 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 { 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({}); }); }