Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit c131182

Browse files
author
dengjun
committed
"ci:lint error"
1 parent 83b44cc commit c131182

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"dev-https": "cross-env APPMODE=development webpack-dev-server --https --port 8008",
77
"build": "webpack --mode=${APPMODE:-development} --env.config=${APPENV:-dev}",
88
"analyze": "webpack --mode=production --env.analyze=true",
9-
"lint": "eslint src --ext js,jsx",
9+
"lint": "eslint src --ext js,jsx --fix",
1010
"format": "prettier --write \"./**\"",
1111
"test": "cross-env BABEL_ENV=test jest",
1212
"watch-tests": "cross-env BABEL_ENV=test jest --watch",

src/containers/MyGigs/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const MyGigs = ({
2727
getAllCountries,
2828
}) => {
2929
const propsRef = useRef();
30-
propsRef.current = { getMyGigs, getProfile, getAllCountries};
30+
propsRef.current = { getMyGigs, getProfile, getAllCountries };
3131

3232
useEffect(() => {
3333
propsRef.current.getMyGigs();
@@ -111,7 +111,7 @@ MyGigs.propTypes = {
111111
// getStatuses: PT.func,
112112
updateProfile: PT.func,
113113
updateProfileSuccess: PT.bool,
114-
getAllCountries: PT.func
114+
getAllCountries: PT.func,
115115
};
116116

117117
const mapStateToProps = (state) => ({

src/containers/MyGigs/modals/UpdateGigProfile/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ const UpdateGigProfile = ({
164164
setProfileEdit({
165165
...varsRef.current.profileEdit,
166166
country: country.countryCode,
167-
countryName: country.name
167+
countryName: country.name,
168168
});
169169
setPristine(false);
170170
};

0 commit comments

Comments
 (0)