Skip to content

Commit 4d95e88

Browse files
fixed password visibility issue.
1 parent 45738ae commit 4d95e88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/components/forms/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ export const FormPasswordField = (
209209
<LinkBox
210210
style={{ position: 'absolute', right: '10px', top: '36px' }}
211211
onClick={(event: any) => {
212-
event.preventDefault();
212+
if (!event) return null;
213213
setShowPassword(!showPassword);
214214
}}
215215
>

0 commit comments

Comments
 (0)