mirror of https://github.com/vector-im/riot-web
added clarifying comment
parent
0663ab3b87
commit
71bdc5987b
|
@ -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 New Issue