Skip to content

Commit

Permalink
Remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sebelga committed Sep 1, 2020
1 parent efa9700 commit 7a2c045
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,6 @@ export const useField = <T>(
__updateFormDataAt(path, value);

// Validate field(s) (that will update form.isValid state)
// We only validate if the value is different than the initial or default value
// to avoid validating after a form.reset() call.
await __validateFields(fieldsToValidateOnChange ?? [path]);

if (isMounted.current === false) {
Expand Down

0 comments on commit 7a2c045

Please sign in to comment.