Skip to content

Commit 1080dd7

Browse files
feat: refactor after review
1 parent 8bad844 commit 1080dd7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.eslintrc.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@ const config = createConfig('eslint', {
66
'import/no-named-as-default-member': 'off',
77
'import/no-import-module-exports': 'off',
88
'import/no-self-import': 'off',
9-
'spaced-comment': ['error', 'always', { 'block': { 'exceptions': ['*'] } }],
9+
'spaced-comment': ['error', 'always', { block: { exceptions: ['*'] } }],
1010
'react-hooks/rules-of-hooks': 'off',
11-
"react/forbid-prop-types": ["error", { "forbid": ["any", "array"] }], // arguable object proptype is use when I do not care about the shape of the object
11+
'react/forbid-prop-types': ['error', { forbid: ['any', 'array'] }], // arguable object proptype is use when I do not care about the shape of the object
1212
'no-import-assign': 'off',
1313
'no-promise-executor-return': 'off',
1414
'import/no-cycle': 'off',
1515
},
1616
});
1717

1818
config.settings = {
19-
"import/resolver": {
19+
'import/resolver': {
2020
node: {
21-
paths: ["src", "node_modules"],
22-
extensions: [".js", ".jsx"],
21+
paths: ['src', 'node_modules'],
22+
extensions: ['.js', '.jsx'],
2323
},
2424
},
2525
};

src/containers/ReviewModal/index.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const ReviewModal = ({ intl }) => {
2828
closeConfirmModalProps,
2929
} = hooks.rendererHooks({ dispatch, intl });
3030

31-
const isMobile = useMediaQuery({ query: '(max-width: 575.98px)' });
31+
const isMobile = useMediaQuery({ query: '(max-width: 767.98px)' });
3232

3333
return (
3434
<FullscreenModal

0 commit comments

Comments
 (0)