mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-28 03:08:30 +00:00
fix warnings from react devtools ext
This commit is contained in:
parent
6171d5ea0f
commit
3da10ecf5a
@ -47,9 +47,11 @@ if (buildUtils.isDev()) {
|
||||
collapsed: true,
|
||||
});
|
||||
|
||||
if (window && typeof window.devToolsExtension === 'function') {
|
||||
enhancers.push(window.devToolsExtension());
|
||||
/* eslint-disable no-underscore-dangle */
|
||||
if (window && typeof window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ === 'function') {
|
||||
enhancers.push(window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__());
|
||||
}
|
||||
/* eslint-enable */
|
||||
|
||||
composedEnhancers = compose(
|
||||
applyMiddleware(logger, ...middlewares, ...services),
|
||||
|
Loading…
Reference in New Issue
Block a user