Skip to content

Commit ff59e7e

Browse files
Readme fix, GH actions fix
1 parent 6a4d92d commit ff59e7e

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ module.exports = {
22
extends: ['ringcentral-typescript'],
33
rules: {
44
'import/no-default-export': 'off',
5+
'import/no-unresolved': 'off',
56
'jsx-a11y/anchor-is-valid': 'off', // Next.js use <a>
67
'no-console': 'off',
78
'no-unused-expressions': 'off', // tests

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
- uses: actions/setup-node@v1
1919
with:
20-
node-version: '15.x'
20+
node-version: '16.x'
2121
registry-url: 'https://registry.npmjs.org'
2222

2323
- id: yarn-cache-dir-path

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1165,11 +1165,11 @@ export default wrapper.withRedux(
11651165
const {Component, pageProps} = this.props;
11661166
return (
11671167
<ReactReduxContext.Consumer>
1168-
{({store}) => {
1168+
{({store}) => (
11691169
<PersistGate persistor={store.__persistor} loading={<div>Loading</div>}>
11701170
<Component {...pageProps} />
1171-
</PersistGate>;
1172-
}}
1171+
</PersistGate>
1172+
)}
11731173
</ReactReduxContext.Consumer>
11741174
);
11751175
}

0 commit comments

Comments
 (0)