mirror of
https://github.com/tcsenpai/Zundler.git
synced 2025-06-06 11:35:40 +00:00
Remove debug statement
This commit is contained in:
parent
66aa150326
commit
763c120413
@ -69,7 +69,6 @@ const { fetch: originalFetch } = window;
|
|||||||
async function waitFor(predicate, timeout) {
|
async function waitFor(predicate, timeout) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
const check = () => {
|
const check = () => {
|
||||||
console.log('checking', predicate());
|
|
||||||
if (!predicate()) return;
|
if (!predicate()) return;
|
||||||
clearInterval(interval);
|
clearInterval(interval);
|
||||||
resolve();
|
resolve();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user