Skip to content

Commit

Permalink
remove duplicated checks on docs Gist
Browse files Browse the repository at this point in the history
  • Loading branch information
andrelopesmds committed Oct 18, 2023
1 parent 0f960aa commit 284a236
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,15 +142,15 @@ const Basic = () => (
onBlur={handleBlur}
value={values.email}
/>
{errors.email && touched.email && errors.email}
{errors.email && touched.email}
<input
type="password"
name="password"
onChange={handleChange}
onBlur={handleBlur}
value={values.password}
/>
{errors.password && touched.password && errors.password}
{errors.password && touched.password}
<button type="submit" disabled={isSubmitting}>
Submit
</button>
Expand Down

0 comments on commit 284a236

Please sign in to comment.