Skip to content

Commit d533229

Browse files
committed
Fix Prettier
1 parent 56a8c35 commit d533229

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -715,9 +715,7 @@ export default {
715715
if (suggestUseCallback && fn.type === 'Variable') {
716716
suggest = [
717717
{
718-
desc: `Wrap the '${
719-
fn.name.name
720-
}' definition into its own useCallback() Hook.`,
718+
desc: `Wrap the '${fn.name.name}' definition into its own useCallback() Hook.`,
721719
fix(fixer) {
722720
return [
723721
// TODO: also add an import?

0 commit comments

Comments
 (0)