File tree 2 files changed +2
-2
lines changed
packages/eslint-plugin-react-hooks 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7663,7 +7663,7 @@ if (__EXPERIMENTAL__) {
7663
7663
errors : [
7664
7664
{
7665
7665
message :
7666
- 'Functions wrapped in `useEvent` must not be included in the dependency array. ' +
7666
+ 'Functions returned from `useEvent` must not be included in the dependency array. ' +
7667
7667
'Remove `onStuff` from the list.' ,
7668
7668
suggestions : [
7669
7669
{
Original file line number Diff line number Diff line change @@ -649,7 +649,7 @@ export default {
649
649
reportProblem ( {
650
650
node : declaredDependencyNode ,
651
651
message :
652
- 'Functions wrapped in `useEvent` must not be included in the dependency array. ' +
652
+ 'Functions returned from `useEvent` must not be included in the dependency array. ' +
653
653
`Remove \`${ context . getSource (
654
654
declaredDependencyNode ,
655
655
) } \` from the list.`,
You can’t perform that action at this time.
0 commit comments