Skip to content

Commit

Permalink
Merge pull request #1543 from Vizzuality/MRXN23-484-fe-consider-wheth…
Browse files Browse the repository at this point in the history
…er-to

disables save button while project creation
  • Loading branch information
agnlez authored Oct 11, 2023
2 parents b7d57b8 + 72b85e9 commit 4c5eac4
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

1 comment on commit 4c5eac4

@vercel
Copy link

@vercel vercel bot commented on 4c5eac4 Oct 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

marxan – ./

marxan23.vercel.app
marxan-git-develop-vizzuality1.vercel.app
marxan-vizzuality1.vercel.app

Please sign in to comment.