gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-wallet-core] 01/03: don't always re-run effect


From: gnunet
Subject: [GNUnet-SVN] [taler-wallet-core] 01/03: don't always re-run effect
Date: Sun, 01 Sep 2019 01:05:45 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

commit 68aa1e9ece96ced961a03a4f3e72d2c354386d60
Author: Florian Dold <address@hidden>
AuthorDate: Sat Aug 31 17:41:31 2019 +0200

    don't always re-run effect
---
 src/webex/pages/pay.tsx    | 2 +-
 src/webex/pages/refund.tsx | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/webex/pages/pay.tsx b/src/webex/pages/pay.tsx
index 1561dd95..95d12b69 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 9a7828ed..79cadcdc 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");
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]