We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46c723a commit 8ad6d4bCopy full SHA for 8ad6d4b
package.json
@@ -77,7 +77,7 @@
77
"@rollup/plugin-babel": "^6.0.3",
78
"@rollup/plugin-commonjs": "^25.0.4",
79
"@rollup/plugin-node-resolve": "^15.2.1",
80
- "@scaleway/eslint-config-react": "^3.15.23",
+ "@scaleway/eslint-config-react": "^3.15.24",
81
"babel-plugin-annotate-pure-calls": "^0.4.0",
82
"cross-env": "^7.0.3",
83
"cross-fetch": "^4.0.0",
packages/clients/src/helpers/is-browser.ts
@@ -1,2 +1,3 @@
1
export const isBrowser = (): boolean =>
2
+ // eslint-disable-next-line @typescript-eslint/prefer-optional-chain
3
typeof window !== 'undefined' && typeof window.document !== 'undefined'
0 commit comments