aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/webex/pages/pay.tsx2
-rw-r--r--src/webex/pages/refund.tsx2
2 files changed, 2 insertions, 2 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>;
diff --git a/src/webex/pages/refund.tsx b/src/webex/pages/refund.tsx
index 9a7828edb..79cadcdc9 100644
--- a/src/webex/pages/refund.tsx
+++ b/src/webex/pages/refund.tsx
@@ -49,7 +49,7 @@ function RefundStatusView(props: { talerRefundUri: string }) {
}
};
doFetch();
- });
+ }, []);
console.log("rendering");