react-hook-form
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -395,6 +395,6 @@ import { useRef, useState, useEffect } from 'react'; | ||
} | ||
if (JSON.stringify(localErrorMessages.current) !== JSON.stringify(localErrors)) { | ||
updateErrorMessage(localErrors); | ||
localErrorMessages.current = localErrors; | ||
} | ||
// if (JSON.stringify(localErrorMessages.current) !== JSON.stringify(localErrors)) { | ||
updateErrorMessage(localErrors); | ||
localErrorMessages.current = localErrors; | ||
// } | ||
if (!Object.values(localErrors).length) | ||
@@ -401,0 +401,0 @@ callback(values, e); |
@@ -397,6 +397,6 @@ 'use strict'; | ||
} | ||
if (JSON.stringify(localErrorMessages.current) !== JSON.stringify(localErrors)) { | ||
updateErrorMessage(localErrors); | ||
localErrorMessages.current = localErrors; | ||
} | ||
// if (JSON.stringify(localErrorMessages.current) !== JSON.stringify(localErrors)) { | ||
updateErrorMessage(localErrors); | ||
localErrorMessages.current = localErrors; | ||
// } | ||
if (!Object.values(localErrors).length) | ||
@@ -403,0 +403,0 @@ callback(values, e); |
{ | ||
"name": "react-hook-form", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"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
43878
33
1020