Przeglądaj źródła

Fix: debounce of dataset creation (#1237)

KVOJJJin 1 rok temu
rodzic
commit
fd3d43cae1

+ 3 - 0
web/app/components/datasets/create/step-two/index.tsx

@@ -319,6 +319,9 @@ const StepTwo = ({
   }
 
   const createHandle = async () => {
+    if (isCreating)
+      return
+    setIsCreating(true)
     try {
       let res
       const params = getCreationParams()