@samitouri / QOS-React-2 / commits / d533229fba

Fix Prettier

Dan Abramov committed Feb 17, 2020 at 20:36 UTC d533229fba8f7e7e576436bf52bbcae56c862906
1 file changed +1 -3
packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js
+1 -3
@@ -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.`,
718 + desc: `Wrap the '${fn.name.name}' definition into its own useCallback() Hook.`,
719 fix(fixer) {
720 return [
721 // TODO: also add an import?