Yidadaa 1 year ago
parent
commit
76e6957a8a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/components/new-chat.tsx

+ 2 - 0
app/components/new-chat.tsx

@@ -67,6 +67,8 @@ function useMaskGroup(masks: Mask[]) {
       setGroups(newGroups);
     };
 
+    computeGroup();
+
     window.addEventListener("resize", computeGroup);
     return () => window.removeEventListener("resize", computeGroup);
     // eslint-disable-next-line react-hooks/exhaustive-deps