Skip to content

Commit 1cd7584

Browse files
committed
fix: add type attribute to Cancel button in DeleteUser component
1 parent 9122181 commit 1cd7584

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/js/components/delete-user.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export default function DeleteUser() {
7474
</div>
7575

7676
<DialogFooter className="gap-2">
77-
<Button variant="secondary" onClick={closeModal}>
77+
<Button variant="secondary" onClick={closeModal} type='button'>
7878
Cancel
7979
</Button>
8080

0 commit comments

Comments
 (0)