Skip to content

Commit

Permalink
disables save button while project creation
Browse files Browse the repository at this point in the history
  • Loading branch information
andresgnlez committed Oct 11, 2023
1 parent b7d57b8 commit 72b85e9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/layout/projects/new/form/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,13 @@ const ProjectForm = ({ onFormUpdate }: ProjectFormProps): JSX.Element => {
Cancel
</Button>
</Link>
<Button className="ml-6" theme="primary" size="xl" type="submit">
<Button
className="ml-6"
theme="primary"
size="xl"
type="submit"
disabled={saveProjectMutation.isLoading}
>
Save
</Button>
</div>
Expand Down

0 comments on commit 72b85e9

Please sign in to comment.