Skip to content

Commit

Permalink
pt.2 of onSubmit fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Collin Pastika committed Jun 17, 2024
1 parent 30c396c commit f693c4e
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,7 @@ interface EmailAddressData {
isValid: boolean;
}

// const onSubmit = (values: EmailAddressData, validationSchema) => {
// const { email, personId } = values;
// };
const onSubmit = () => {};

const EmailValidationForm = ({
email: initialEmail = {
Expand Down Expand Up @@ -146,7 +144,7 @@ const EmailValidationForm = ({
isValid: false,
}}
validationSchema={validationSchema}
// onSubmit={onSubmit}
onSubmit={onSubmit}
>
{({ isValid }) => (
<Form>
Expand Down

0 comments on commit f693c4e

Please sign in to comment.