added clarifying comment

This commit is contained in:
Zoe 2020-02-24 11:33:49 +00:00
parent 0663ab3b87
commit 71bdc5987b

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);