fixed edge case
This commit is contained in:
parent
ebc62ab69f
commit
84f0c48b96
1 changed files with 6 additions and 1 deletions
|
|
@ -179,9 +179,14 @@ const MobileAppVerification = observer(({ userPk }: Props) => {
|
|||
let isRequestDone = false;
|
||||
|
||||
const throttle = () => {
|
||||
if (!isMounted.current || !isRequestDone) {
|
||||
if (!isMounted.current) {
|
||||
return;
|
||||
}
|
||||
if (!isRequestDone) {
|
||||
didCallThrottleWithNoEffect = true;
|
||||
return;
|
||||
}
|
||||
|
||||
setIsQRBlurry(false);
|
||||
setTimeout(queueRefreshQR, INTERVAL_QUEUE_QR);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue