diff --git a/extension/src/browser/extension/inject/pageScript.ts b/extension/src/browser/extension/inject/pageScript.ts index 473b7430..287c5973 100644 --- a/extension/src/browser/extension/inject/pageScript.ts +++ b/extension/src/browser/extension/inject/pageScript.ts @@ -103,9 +103,6 @@ export interface ConfigWithExpandedMaxAge { action: A ) => boolean; readonly latency?: number; - readonly getMonitor?: >( - monitor: Monitor - ) => void; readonly maxAge?: | number | (>( @@ -219,17 +216,6 @@ function __REDUX_DEVTOOLS_EXTENSION__>( ); const monitor = new Monitor(relayState); - if (config.getMonitor) { - /* eslint-disable no-console */ - console.warn( - "Redux DevTools extension's `getMonitor` parameter is deprecated and will be not " + - 'supported in the next version, please remove it and just use ' + - '`__REDUX_DEVTOOLS_EXTENSION_COMPOSE__` instead: ' + - 'https://github.com/zalmoxisus/redux-devtools-extension#12-advanced-store-setup' - ); - /* eslint-enable no-console */ - config.getMonitor(monitor); - } function exportState() { const liftedState = store.liftedStore.getState();