Skip to content

Commit

Permalink
QuickFix
Browse files Browse the repository at this point in the history
  • Loading branch information
devandrepascoa committed Jul 2, 2023
1 parent 4039e8e commit 0e929b9
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,14 @@ export function useCreateDataset() {
}
setTriedSubmitting(false)

if(creatingDatasetRef.current)
if (creatingDatasetRef.current)
return

creatingDatasetRef.current = true

setCreateDatasetStep(CreateDatasetStep.CREATING_DATASET)
setCurrStep(3)

let typingDataId = selectedTypingData
let isolateDataId = selectedIsolateData

Expand All @@ -181,9 +184,6 @@ export function useCreateDataset() {
}


setCreateDatasetStep(CreateDatasetStep.CREATING_DATASET)
setCurrStep(3)

AdministrationService.createDataset(
project?.projectId!,
{
Expand Down

0 comments on commit 0e929b9

Please sign in to comment.