react-hook-form
Advanced tools
Comparing version 0.4.0-beta.1 to 0.4.0-beta.2
@@ -236,2 +236,3 @@ import { useRef, useState, useEffect } from 'react'; | ||
catch (e) { | ||
console.log('yup error', e); | ||
return parseErrorSchema(e); | ||
@@ -337,2 +338,4 @@ } | ||
localErrors = await validateWithSchema(validationSchema, values); | ||
console.log(values); | ||
console.log(localErrors); | ||
if (localErrors === undefined) { | ||
@@ -339,0 +342,0 @@ callback(values, e); |
@@ -238,2 +238,3 @@ 'use strict'; | ||
catch (e) { | ||
console.log('yup error', e); | ||
return parseErrorSchema(e); | ||
@@ -339,2 +340,4 @@ } | ||
localErrors = await validateWithSchema(validationSchema, values); | ||
console.log(values); | ||
console.log(localErrors); | ||
if (localErrors === undefined) { | ||
@@ -341,0 +344,0 @@ callback(values, e); |
{ | ||
"name": "react-hook-form", | ||
"version": "0.4.0-beta.1", | ||
"version": "0.4.0-beta.2", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/index.es.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40305
896