taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 6fbe8c4787ea83e928d245e11e6f82a434d6baa0
parent ffd802a23dfc251188d694b935842101945d48c9
Author: Florian Dold <florian.dold@gmail.com>
Date:   Tue, 18 Oct 2016 02:40:46 +0200

fix redraw problem

Diffstat:
Mpopup/popup.tsx | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/popup/popup.tsx b/popup/popup.tsx @@ -198,13 +198,13 @@ class WalletBalance extends preact.Component<any, any> { if (resp.error) { this.gotError = true; console.error("could not retrieve balances", resp); - this.forceUpdate(); + this.setState({}); return; } this.gotError = false; console.log("got wallet", resp); this.myWallet = resp.balances; - this.forceUpdate(); + this.setState({}); }); }