aboutsummaryrefslogtreecommitdiff
path: root/src/webex/pages/pay.tsx
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-08-31 17:41:31 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-08-31 17:41:31 +0200
commit68aa1e9ece96ced961a03a4f3e72d2c354386d60 (patch)
treefc4b597a37927568c76cec3cafa799fc92a45929 /src/webex/pages/pay.tsx
parentc35b3be7957a90bd1e861c0502736aa1eb7acfbf (diff)
downloadwallet-core-68aa1e9ece96ced961a03a4f3e72d2c354386d60.tar.xz
don't always re-run effect
Diffstat (limited to 'src/webex/pages/pay.tsx')
-rw-r--r--src/webex/pages/pay.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webex/pages/pay.tsx b/src/webex/pages/pay.tsx
index 1561dd95f..95d12b69a 100644
--- a/src/webex/pages/pay.tsx
+++ b/src/webex/pages/pay.tsx
@@ -53,7 +53,7 @@ function TalerPayDialog({ talerPayUri }: { talerPayUri: string }) {
setPayStatus(p);
};
doFetch();
- });
+ }, [numTries]);
if (!payStatus) {
return <span>Loading payment information ...</span>;