Skip to content

Commit

Permalink
Allow value to be any
Browse files Browse the repository at this point in the history
  • Loading branch information
zackify committed Jan 2, 2020
1 parent 787170a commit 1d13165
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-validify",
"version": "5.7.5",
"version": "5.7.6",
"description": "Form validation made easy",
"main": "dist/index.js",
"module": "lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/use-field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const useField = (name: string) => {
errors,
};

const handleChange = (value: string, field?: string) => {
const handleChange = (value: any, field?: string) => {
/*
If this field
- has errors
Expand Down

0 comments on commit 1d13165

Please sign in to comment.