mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 14:05:04 +08:00
added clarifying comment
This commit is contained in:
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
Block a user