mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-20 02:01:26 +08:00
fixup
This commit is contained in:
@@ -67,6 +67,8 @@ function useMaskGroup(masks: Mask[]) {
|
|||||||
setGroups(newGroups);
|
setGroups(newGroups);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
computeGroup();
|
||||||
|
|
||||||
window.addEventListener("resize", computeGroup);
|
window.addEventListener("resize", computeGroup);
|
||||||
return () => window.removeEventListener("resize", computeGroup);
|
return () => window.removeEventListener("resize", computeGroup);
|
||||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
|
Reference in New Issue
Block a user