Skip to content

Commit

Permalink
fix(GoalCreateForm): disable the local state busy after request response
Browse files Browse the repository at this point in the history
  • Loading branch information
draculola1 authored and DenisVorop committed Jul 25, 2023
1 parent 8cffb63 commit 63b4d60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/GoalCreateForm/GoalCreateForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ const GoalCreateForm: React.FC<GoalCreateFormProps> = ({ title, onGoalCreate })

onGoalCreate?.(res);
}

setBusy(false);
};

return (
Expand Down

0 comments on commit 63b4d60

Please sign in to comment.