Skip to content

Commit

Permalink
Merge branch 'daniel-schwartz-k:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
danielschwartz85 authored Feb 11, 2024
2 parents 02b6ed7 + 1d10ea4 commit f8151f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/secret/confirmDeleteDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function ConfirmDeleteDialog(props: IConfirmDeleteDialog) {
</DialogContentText>
</DialogContent>
<DialogActions>
<Button onClick={handleClose}>Cancel</Button>
<Button onMouseDown={handleClose}>Cancel</Button>
<Button onClick={handleDelete} autoFocus>
Delete
</Button>
Expand Down
2 changes: 1 addition & 1 deletion src/components/secret/saveSecretDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default function SaveSecretDialog(props: ISaveSecretDialog) {
</Grid>
</DialogContent>
<DialogActions>
<Button onClick={handleClose}>Cancel</Button>
<Button onMouseDown={handleClose}>Cancel</Button>
<Button onClick={handleSaveClick}>Save</Button>
</DialogActions>
</Dialog>
Expand Down
2 changes: 1 addition & 1 deletion src/components/secret/secretInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export default function SecretInput(props: ISecretInputProps) {
<IconButton
aria-label="delete secret"
title="Delete"
onClick={() => handleClickDelete(option)}
onMouseDown={() => handleClickDelete(option)}
edge="end"
>
<DeleteForever color="secondary" fontSize="small" />
Expand Down

0 comments on commit f8151f0

Please sign in to comment.