Skip to content

Commit 92f463a

Browse files
added fix opportunity for eslint
1 parent 97ef10a commit 92f463a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"serve:test": "cross-env NODE_ENV=test nodemon --exec babel-node server/index.js",
99
"start-front": "react-scripts start",
1010
"build": "node ./buildScript",
11-
"lint": "npx eslint --ext jsx,js src server",
11+
"lint": "npx eslint --fix --ext jsx,js src server",
1212
"test": "npm run lint && react-scripts test",
1313
"test:e2e": "concurrently \"npm run serve:test\" \"cypress run\" --kill-others --success first",
1414
"start": "concurrently \"npm run start-server\" \"npm run start-front\" --kill-others --kill-others-on-fail",

src/pages/HomePage/HomePage.jsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,20 +42,18 @@ const HomePage = ({
4242
await fetchDomains(0, false, isTech);
4343
setIsLoading(false);
4444
})();
45-
}
45+
}
4646
else if (previousTechParams !== isTech) {
4747
(async () => {
4848
await fetchDomains(0, false, isTech);
4949
setIsLoading(false);
5050
})();
51-
}
51+
}
5252
else {
5353
setIsLoading(false);
5454
}
5555
}, [fetchDomains, isTech]);
5656

57-
console.log(totalDomains);
58-
5957
if (isLoading) return <Loading />;
6058

6159
return (

0 commit comments

Comments
 (0)