chore (client): remove debug prints
This commit is contained in:
parent
9298a6252d
commit
287dcece57
1 changed files with 0 additions and 2 deletions
|
@ -13,9 +13,7 @@ function checkLangMute(
|
|||
note: entities.Note,
|
||||
mutedLangs: Array<string | string[]>,
|
||||
): Muted {
|
||||
console.log(note);
|
||||
const mutedLangList = mutedLangs.flat();
|
||||
console.log(mutedLangList);
|
||||
const noteLang = note.lang ?? detectLanguage(note.text ?? "") ?? "no-lang";
|
||||
for (const mutedLang of mutedLangList) {
|
||||
if (languageContains(mutedLang, noteLang)) {
|
||||
|
|
Loading…
Reference in a new issue