From 4b99c26ab96781bc35a331f5c225ad9c8a62cb95 Mon Sep 17 00:00:00 2001 From: Antonio Stoilkov Date: Tue, 9 Jul 2024 10:15:36 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/waitNextTaskWhileHidden.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/utils/waitNextTaskWhileHidden.ts b/src/utils/waitNextTaskWhileHidden.ts index e6e06c9..269b06c 100644 --- a/src/utils/waitNextTaskWhileHidden.ts +++ b/src/utils/waitNextTaskWhileHidden.ts @@ -9,7 +9,6 @@ const state = { export default async function waitNextTaskWhileHidden(): Promise { if (document.visibilityState === 'hidden') { await waitNextTask() - // in theory, here the page could have been hidden again, // but we ignore this case on purpose } else {