fix(frontend): 本番環境で不必要なconsole.logを出さないように (#15702)

This commit is contained in:
かっこかり 2025-03-25 08:02:06 +09:00 committed by GitHub
parent 3f7a2bf5b5
commit 5513337198
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 9 additions and 9 deletions

View file

@ -380,7 +380,7 @@ function prepend(item: MisskeyEntity): void {
return;
}
console.log(isHead(), isPausingUpdate);
if (_DEV_) console.log(isHead(), isPausingUpdate);
if (isHead() && !isPausingUpdate) unshiftItems([item]);
else prependQueue(item);