Skip to content

Commit

Permalink
minor changes #8
Browse files Browse the repository at this point in the history
  • Loading branch information
ukorvl committed Sep 7, 2023
1 parent c04c561 commit 0c44905
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/pages/Contact/Form/Form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const initialValues = {
* @returns React element.
*/
export default function Form() {
const {name, email} = formConfig;
const {name, email, message} = formConfig;
const formik = useFormik<ContactFormData>({
initialValues,
onSubmit: values => {},
Expand All @@ -25,6 +25,8 @@ export default function Form() {
return (
<form onSubmit={formik.handleSubmit}>
<TextField {...name} />
<TextField {...message} />
<div>Select your preferred method of contact.</div>
<TextField {...email} />
</form>
);
Expand Down

0 comments on commit 0c44905

Please sign in to comment.