diff --git a/web/src/pages/ContactPage/ContactPage.js b/web/src/pages/ContactPage/ContactPage.js index 65a066e..f91cded 100644 --- a/web/src/pages/ContactPage/ContactPage.js +++ b/web/src/pages/ContactPage/ContactPage.js @@ -6,10 +6,10 @@ import { FieldError, Label, FormError, + useForm, } from '@redwoodjs/forms' import { useMutation } from '@redwoodjs/web' import { toast, Toaster } from '@redwoodjs/web/toast' -import { useForm } from 'react-hook-form' const CREATE_CONTACT = gql` mutation CreateContactMutation($input: CreateContactInput!) { @@ -34,75 +34,81 @@ const ContactPage = () => { console.log(data) } - return <> - -
- + + - - - + + + + - - - + + + - - - + + + - - Save - - - ; + + Save + + + + ) } export default ContactPage