Skip to content

Commit

Permalink
Fix Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Feb 17, 2020
1 parent 56a8c35 commit d533229
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js
Original file line number Diff line number Diff line change
Expand Up @@ -715,9 +715,7 @@ export default {
if (suggestUseCallback && fn.type === 'Variable') {
suggest = [
{
desc: `Wrap the '${
fn.name.name
}' definition into its own useCallback() Hook.`,
desc: `Wrap the '${fn.name.name}' definition into its own useCallback() Hook.`,
fix(fixer) {
return [
// TODO: also add an import?
Expand Down

0 comments on commit d533229

Please sign in to comment.