Skip to content

Commit ae82922

Browse files
committed
fix linting issues
1 parent bfc06da commit ae82922

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

client/modules/User/components/LoginForm.jsx

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -66,28 +66,28 @@ function LoginForm() {
6666
{...field.input}
6767
/>
6868

69-
<button
70-
type="button"
71-
onClick={handleVisibility}
72-
aria-hidden="true"
73-
style={{
74-
background: 'none',
75-
border: 'none',
76-
cursor: 'pointer',
77-
display: 'flex',
78-
alignItems: 'center',
79-
justifyContent: 'center',
80-
padding: '0 10px ',
81-
paddingBottom:'16px' // Add padding
82-
}}
83-
>
84-
{showPassword ? (
85-
<AiOutlineEyeInvisible style={{ fontSize: '24px' }} /> // Add inline styles
86-
) : (
87-
<AiOutlineEye style={{ fontSize: '24px' }} /> // Add inline styles
88-
)}
89-
</button>
90-
</div>
69+
<button
70+
type="button"
71+
onClick={handleVisibility}
72+
aria-hidden="true"
73+
style={{
74+
background: 'none',
75+
border: 'none',
76+
cursor: 'pointer',
77+
display: 'flex',
78+
alignItems: 'center',
79+
justifyContent: 'center',
80+
padding: '0 10px ',
81+
paddingBottom: '16px' // Add padding
82+
}}
83+
>
84+
{showPassword ? (
85+
<AiOutlineEyeInvisible style={{ fontSize: '24px' }} /> // Add inline styles
86+
) : (
87+
<AiOutlineEye style={{ fontSize: '24px' }} /> // Add inline styles
88+
)}
89+
</button>
90+
</div>
9191
{field.meta.touched && field.meta.error && (
9292
<span className="form-error" aria-live="polite">
9393
{field.meta.error}

0 commit comments

Comments
 (0)