This commit is contained in:
Lincoln Minto 2025-05-07 16:01:16 +00:00 committed by GitHub
commit 97c972b21b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,9 +30,8 @@ if (typeof window != "undefined") {
return { cn: [], tw: [], en: [] }; return { cn: [], tw: [], en: [] };
}) })
.then((masks) => { .then((masks) => {
const { cn = [], tw = [], en = [] } = masks; return Object.values(masks).flat().map((m) => {
return [...cn, ...tw, ...en].map((m) => { BUILTIN_MASKS.push(BUILTIN_MASK_STORE.add(m as BuiltinMask));
BUILTIN_MASKS.push(BUILTIN_MASK_STORE.add(m));
}); });
}); });
} }