We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56a8c35 commit d533229Copy full SHA for d533229
packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js
@@ -715,9 +715,7 @@ export default {
715
if (suggestUseCallback && fn.type === 'Variable') {
716
suggest = [
717
{
718
- desc: `Wrap the '${
719
- fn.name.name
720
- }' definition into its own useCallback() Hook.`,
+ desc: `Wrap the '${fn.name.name}' definition into its own useCallback() Hook.`,
721
fix(fixer) {
722
return [
723
// TODO: also add an import?
0 commit comments