Skip to content

Commit ff62a77

Browse files
authored
refactor(PasswordInput): remove redundant type annotation (#2478)
1 parent 3b49eaa commit ff62a77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/controls/PasswordInput/PasswordInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export const PasswordInput = (props: PasswordInputProps) => {
8888
disabled={props.disabled}
8989
onClick={() => setRevealValue(!revealValue)}
9090
size={actionButtonSize}
91-
onMouseDown={(event: React.SyntheticEvent) => event.preventDefault()}
91+
onMouseDown={(event) => event.preventDefault()}
9292
aria-label={
9393
revealValue ? t('label_hide-password') : t('label_show-password')
9494
}

0 commit comments

Comments
 (0)