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,
|
collapsed: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (window && typeof window.devToolsExtension === 'function') {
|
/* eslint-disable no-underscore-dangle */
|
||||||
enhancers.push(window.devToolsExtension());
|
if (window && typeof window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ === 'function') {
|
||||||
|
enhancers.push(window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__());
|
||||||
}
|
}
|
||||||
|
/* eslint-enable */
|
||||||
|
|
||||||
composedEnhancers = compose(
|
composedEnhancers = compose(
|
||||||
applyMiddleware(logger, ...middlewares, ...services),
|
applyMiddleware(logger, ...middlewares, ...services),
|
||||||
|
Loading…
Reference in New Issue
Block a user