Skip to content

Commit 9600bfb

Browse files
committed
Removed onMouseDown handler to avoid double submission. (#459)
1 parent b857015 commit 9600bfb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/components/confirm-buttons.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ export function ConfirmButton(props: {
3535
color="error"
3636
title={props.name}
3737
onClick={clickHandler}
38-
onMouseDown={clickHandler}
3938
onBlur={_ => setClicked(false)}
4039
style={{ visibility: clicked ? 'visible' : 'hidden' }}
4140
autoFocus

0 commit comments

Comments
 (0)