added clarifying comment
This commit is contained in:
parent
0663ab3b87
commit
71bdc5987b
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue