Skip to content

Commit

Permalink
PersonaForm: save button should be disabled if there are no changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdjohnson committed Nov 22, 2024
1 parent c18a5be commit 68b2646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/settings/panels/persona/PersonaForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export const PersonaForm = observer(() => {
Reset
</button>

<button className="btn btn-primary outline-none md:btn-sm" type="submit">
<button className="btn btn-primary outline-none md:btn-sm" type="submit" disabled={!isDirty}>
Save
</button>
</div>
Expand Down

0 comments on commit 68b2646

Please sign in to comment.