Fix: debounce of dataset creation (#1237)

This commit is contained in:
KVOJJJin
2023-09-27 10:31:27 +08:00
committed by GitHub
parent 8eae643911
commit fd3d43cae1

View File

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