Yidadaa 1 년 전
부모
커밋
76e6957a8a
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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