forked from XiaoMo/ChatGPT-Next-Web
fixup
This commit is contained in:
parent
f14b413b7c
commit
76e6957a8a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user