diff --git a/docs/src/modules/redux/initRedux.js b/docs/src/modules/redux/initRedux.js index 4e6e90e4ee880f..de060c37617e1e 100644 --- a/docs/src/modules/redux/initRedux.js +++ b/docs/src/modules/redux/initRedux.js @@ -21,8 +21,7 @@ function create(initialState) { process.browser && !window.__REDUX_DEVTOOLS_EXTENSION__ && // redux-logger needs this feature - // eslint-disable-next-line no-eval - eval('Object.assign') + Object.hasOwnProperty('assign') ) { // eslint-disable-next-line global-require const createLogger = require('redux-logger').createLogger;