From eda1c4d8bcb9e7d5de4c2c1100d3dd591b83132c Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Wed, 11 Dec 2019 15:10:27 +0100 Subject: [PATCH] Sebastian review --- docs/src/modules/redux/initRedux.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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;