fix(frontend): add missing explicit types for button elems

This commit is contained in:
tigattack
2025-09-24 22:19:26 +01:00
parent 35bf858977
commit a11f180d23
16 changed files with 158 additions and 5 deletions

View File

@@ -161,6 +161,7 @@ const RepositoryDetail = () => {
{editMode ? (
<>
<button
type="button"
onClick={handleCancel}
className="btn-outline"
disabled={updateRepositoryMutation.isPending}
@@ -168,6 +169,7 @@ const RepositoryDetail = () => {
Cancel
</button>
<button
type="button"
onClick={handleSave}
className="btn-primary"
disabled={updateRepositoryMutation.isPending}
@@ -178,7 +180,7 @@ const RepositoryDetail = () => {
</button>
</>
) : (
<button onClick={handleEdit} className="btn-primary">
<button type="button" onClick={handleEdit} className="btn-primary">
Edit Repository
</button>
)}