@hookform/devtools
Advanced tools
Comparing version 3.0.0-alpha.2 to 3.0.0-alpha.3
@@ -221,3 +221,5 @@ 'use strict'; | ||
var control = _a.control, fieldsRef = _a.control.fieldsRef; | ||
var formState = reactHookForm.useFormState(); | ||
var formState = reactHookForm.useFormState({ | ||
control: control, | ||
}); | ||
var dirtyFields = formState.dirtyFields, touchedFields = formState.touchedFields, errors = formState.errors; | ||
@@ -224,0 +226,0 @@ var _b = littleStateMachine.useStateMachine({ |
@@ -215,3 +215,5 @@ import { createElement, useState, useEffect, Fragment } from 'react'; | ||
var control = _a.control, fieldsRef = _a.control.fieldsRef; | ||
var formState = useFormState(); | ||
var formState = useFormState({ | ||
control: control, | ||
}); | ||
var dirtyFields = formState.dirtyFields, touchedFields = formState.touchedFields, errors = formState.errors; | ||
@@ -218,0 +220,0 @@ var _b = useStateMachine({ |
{ | ||
"name": "@hookform/devtools", | ||
"version": "3.0.0-alpha.2", | ||
"version": "3.0.0-alpha.3", | ||
"description": "React Hook Form dev tool to help debugging forms", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
506767
3575