added clarifying comment

pull/21833/head
Zoe 2020-02-24 11:33:49 +00:00
parent 0663ab3b87
commit 71bdc5987b
1 changed files with 1 additions and 0 deletions

View File

@ -637,6 +637,7 @@ function VerificationRequest({txnId, request}) {
useEffect(() => {
if (request.timeout == 0) return;
/* Note that request.timeout is a getter, so its value changes */
const id = setInterval(() => {
setTimeout(request.timeout);
}, 500);