Skip to content

Commit

Permalink
Readme fix, GH actions fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kirill-konshin committed Sep 9, 2022
1 parent 6a4d92d commit ff59e7e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ module.exports = {
extends: ['ringcentral-typescript'],
rules: {
'import/no-default-export': 'off',
'import/no-unresolved': 'off',
'jsx-a11y/anchor-is-valid': 'off', // Next.js use <a>
'no-console': 'off',
'no-unused-expressions': 'off', // tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

- uses: actions/setup-node@v1
with:
node-version: '15.x'
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'

- id: yarn-cache-dir-path
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1165,11 +1165,11 @@ export default wrapper.withRedux(
const {Component, pageProps} = this.props;
return (
<ReactReduxContext.Consumer>
{({store}) => {
{({store}) => (
<PersistGate persistor={store.__persistor} loading={<div>Loading</div>}>
<Component {...pageProps} />
</PersistGate>;
}}
</PersistGate>
)}
</ReactReduxContext.Consumer>
);
}
Expand Down

0 comments on commit ff59e7e

Please sign in to comment.