diff --git a/examples/with-react-hook-form/components/Login.js b/examples/with-react-hook-form/components/Login.js index 976c02c524322..61e92ad24f811 100644 --- a/examples/with-react-hook-form/components/Login.js +++ b/examples/with-react-hook-form/components/Login.js @@ -3,9 +3,6 @@ import { useForm } from 'react-hook-form' const Login = () => { const { register, errors, handleSubmit } = useForm() const login = handleSubmit(({ username, password, remember }) => { - console.log( - `username:${username}, password:${password}, remember:${remember}` - ) // Handle login logic with username, password and remember form data })