mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-09-20 10:16:38 +08:00
Merge 83e6ff6d96
into 995bef73de
This commit is contained in:
commit
0119155d0b
@ -30,9 +30,8 @@ if (typeof window != "undefined") {
|
||||
return { cn: [], tw: [], en: [] };
|
||||
})
|
||||
.then((masks) => {
|
||||
const { cn = [], tw = [], en = [] } = masks;
|
||||
return [...cn, ...tw, ...en].map((m) => {
|
||||
BUILTIN_MASKS.push(BUILTIN_MASK_STORE.add(m));
|
||||
return Object.values(masks).flat().map((m) => {
|
||||
BUILTIN_MASKS.push(BUILTIN_MASK_STORE.add(m as BuiltinMask));
|
||||
});
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user