mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-20 08:53:44 +08:00
Compare commits
2 Commits
main
...
07ccc9953f
Author | SHA1 | Date | |
---|---|---|---|
|
07ccc9953f | ||
|
83e6ff6d96 |
@@ -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));
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user