Skip to content

Commit

Permalink
fix: icon input
Browse files Browse the repository at this point in the history
  • Loading branch information
ialexanderbrito committed Mar 31, 2022
1 parent 66a075b commit 5d1f7f9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pages/Profile/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FiMail, FiUser } from 'react-icons/fi';
import { FiLock, FiMail, FiUser } from 'react-icons/fi';

import { SpinnerCircular } from 'spinners-react';

Expand Down Expand Up @@ -84,7 +84,7 @@ export function Profile() {
onChange={formikProfile.handleChange}
onBlur={formikProfile.handleBlur}
value={formikProfile.values.password}
icon={<FiMail color="#666360" size={24} />}
icon={<FiLock color="#666360" size={24} />}
/>
{formikProfile.errors.password && formikProfile.touched.password && (
<span className={styles.error}>{formikProfile.errors.password}</span>
Expand All @@ -96,7 +96,7 @@ export function Profile() {
onChange={formikProfile.handleChange}
onBlur={formikProfile.handleBlur}
value={formikProfile.values.newPassword}
icon={<FiMail color="#666360" size={24} />}
icon={<FiLock color="#666360" size={24} />}
/>
{formikProfile.errors.newPassword && formikProfile.touched.newPassword && (
<span className={styles.error}>{formikProfile.errors.newPassword}</span>
Expand All @@ -108,7 +108,7 @@ export function Profile() {
onChange={formikProfile.handleChange}
onBlur={formikProfile.handleBlur}
value={formikProfile.values.confirmPassword}
icon={<FiMail color="#666360" size={24} />}
icon={<FiLock color="#666360" size={24} />}
/>
{formikProfile.errors.confirmPassword && formikProfile.touched.confirmPassword && (
<span className={styles.error}>{formikProfile.errors.confirmPassword}</span>
Expand Down

0 comments on commit 5d1f7f9

Please sign in to comment.