Skip to content

Commit

Permalink
use each item inside of decorators to allow decorators to change iden…
Browse files Browse the repository at this point in the history
…tity (#893)
  • Loading branch information
bobbyrenwick authored Jul 23, 2021
1 parent 8a3bea3 commit 8389951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ReactFinalForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function ReactFinalForm<FormValues: FormValuesShape>({
// don't need to resume validation here; either unmounting, or will re-run this hook with new deps
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [decorators])
}, decorators)

// warn about decorator changes
// istanbul ignore next
Expand Down

0 comments on commit 8389951

Please sign in to comment.