Explorar el Código

lint-frontend Files.tsx (#1089)

for lint-frontend exhaustive deps

Co-authored-by: Robert Brennan <accounts@rbren.io>
808vita hace 1 año
padre
commit
f0559892ab
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      frontend/src/components/Files.tsx

+ 1 - 0
frontend/src/components/Files.tsx

@@ -68,6 +68,7 @@ function Files({
 
   useEffect(() => {
     getWorkspace().then((file) => dispatch(updateWorkspace(file)));
+    // eslint-disable-next-line react-hooks/exhaustive-deps
   }, []);
 
   if (workspaceTree.length <= 1) {