Browse Source

usecallback2

zahmis 6 năm trước cách đây
mục cha
commit
c79dc5b579
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/client/js/components/ArchiveCreateModal.jsx

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

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