react-hook-form
Advanced tools
Comparing version 2.1.3 to 2.1.4
@@ -484,3 +484,3 @@ import { useRef, useState, useEffect } from 'react'; | ||
} | ||
resolvedPrevious.errors = Object.assign({}, (resolvedPrevious.localErrors || []), fieldError); | ||
resolvedPrevious.errors = Object.assign({}, (resolvedPrevious.errors || []), fieldError); | ||
return lastChild ? resolve(resolvedPrevious) : resolvedPrevious; | ||
@@ -487,0 +487,0 @@ }, Promise.resolve({ |
@@ -486,3 +486,3 @@ 'use strict'; | ||
} | ||
resolvedPrevious.errors = Object.assign({}, (resolvedPrevious.localErrors || []), fieldError); | ||
resolvedPrevious.errors = Object.assign({}, (resolvedPrevious.errors || []), fieldError); | ||
return lastChild ? resolve(resolvedPrevious) : resolvedPrevious; | ||
@@ -489,0 +489,0 @@ }, Promise.resolve({ |
{ | ||
"name": "react-hook-form", | ||
"version": "2.1.3", | ||
"version": "2.1.4", | ||
"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
76244