diff --git a/.eslintrc.js b/.eslintrc.js index 6a1529b..925e790 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -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 'no-console': 'off', 'no-unused-expressions': 'off', // tests diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index feea1b1..7e7ef1c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 diff --git a/README.md b/README.md index a4195a6..fa49ac7 100644 --- a/README.md +++ b/README.md @@ -1165,11 +1165,11 @@ export default wrapper.withRedux( const {Component, pageProps} = this.props; return ( - {({store}) => { + {({store}) => ( Loading}> - ; - }} + + )} ); }