Skip to content

Commit

Permalink
console.log removed
Browse files Browse the repository at this point in the history
  • Loading branch information
aydinkn committed Jan 22, 2021
1 parent 0ccafc3 commit 87d2efc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions examples/with-react-hook-form/components/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
})

Expand Down

0 comments on commit 87d2efc

Please sign in to comment.