Update index.ts

This commit is contained in:
DirkSchlossmacher 2024-07-16 07:43:28 +02:00
parent 6268649ecc
commit 5ada86a78a

View File

@ -30,7 +30,7 @@ if (typeof window != "undefined") {
.then((res) => res.json()) .then((res) => res.json())
.catch((error) => { .catch((error) => {
console.error("[Fetch] failed to fetch masks", error); console.error("[Fetch] failed to fetch masks", error);
return { cn: [], tw: [], en: [] }; return { en: [] };
}) })
.then((masks) => { .then((masks) => {
const {en = [] } = masks; const {en = [] } = masks;