Leo 3 years ago
parent
commit
d1dca75884
1 changed files with 1 additions and 0 deletions
  1. 1 0
      components/VirtualScroll/index.tsx

+ 1 - 0
components/VirtualScroll/index.tsx

@@ -57,6 +57,7 @@ export default function VirtualScroll(props: VirtualScrollProps) {
     } else {
       setWrapElement(null);
     }
+    // eslint-disable-next-line react-hooks/exhaustive-deps
   }, []);
 
   useEffect(() => {