File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff 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 (
You can’t perform that action at this time.
0 commit comments