Skip to content

Commit

Permalink
Removed onMouseDown handler to avoid double submission. (#459)
Browse files Browse the repository at this point in the history
  • Loading branch information
3coins committed Oct 31, 2023
1 parent b857015 commit 9600bfb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/confirm-buttons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ export function ConfirmButton(props: {
color="error"
title={props.name}
onClick={clickHandler}
onMouseDown={clickHandler}
onBlur={_ => setClicked(false)}
style={{ visibility: clicked ? 'visible' : 'hidden' }}
autoFocus
Expand Down

0 comments on commit 9600bfb

Please sign in to comment.