Skip to content

Commit

Permalink
Update settings.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
JorrinKievit committed Sep 3, 2024
1 parent 6393319 commit eff989b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/routes/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,11 @@ function Settings() {
setShowSave(false);
}}
className="w-32"
disabled={!showSave}
>
Reset
</Button>
<Button className="w-32" onClick={handleSubmit}>
<Button className="w-32" onClick={handleSubmit} disabled={!showSave}>
Save
</Button>
</div>
Expand Down

0 comments on commit eff989b

Please sign in to comment.