Selaa lähdekoodia

fix useCallback

zahmis 6 vuotta sitten
vanhempi
sitoutus
a9e845ca9f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/client/js/components/ArchiveCreateModal.jsx

+ 1 - 1
src/client/js/components/ArchiveCreateModal.jsx

@@ -38,7 +38,7 @@ const ArchiveCreateModal = (props) => {
     (filetype) => {
       setFileType(filetype);
     },
-    [fileType],
+    [],
   );