react-hook-form 7.20.3 → 7.20.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -614,9 +614,6 @@ function deepEqual(object1, object2) {
614
614
  if (isPrimitive(object1) || isPrimitive(object2)) {
615
615
  return object1 === object2;
616
616
  }
617
- if (!isNaN(object1) || !isNaN(object2)) {
618
- return +object1 === +object2;
619
- }
620
617
  if (isDateObject(object1) && isDateObject(object2)) {
621
618
  return object1.getTime() === object2.getTime();
622
619
  }