diff --git a/packages/redux-devtools-rtk-query-monitor/src/containers/QueryPreview.tsx b/packages/redux-devtools-rtk-query-monitor/src/containers/QueryPreview.tsx index 2eeee431..a8222d68 100644 --- a/packages/redux-devtools-rtk-query-monitor/src/containers/QueryPreview.tsx +++ b/packages/redux-devtools-rtk-query-monitor/src/containers/QueryPreview.tsx @@ -25,7 +25,6 @@ import { } from '../components/QueryPreviewTags'; import { NoRtkQueryApi } from '../components/NoRtkQueryApi'; import { InspectorSelectors } from '../selectors'; -import { StylingFunction } from 'react-base16-styling'; import { mapProps } from './mapProps'; import { QueryPreviewActions, @@ -59,7 +58,6 @@ export interface QueryPreviewProps { readonly hasNoApis: boolean; readonly onTabChange: (tab: QueryPreviewTabs) => void; readonly resInfo: RtkResourceInfo | null; - readonly styling: StylingFunction; readonly isWideLayout: boolean; readonly selectorsSource: SelectorsSource; readonly selectors: InspectorSelectors; diff --git a/packages/redux-devtools-rtk-query-monitor/src/containers/RtkQueryInspector.tsx b/packages/redux-devtools-rtk-query-monitor/src/containers/RtkQueryInspector.tsx index a1c9601a..e7634e30 100644 --- a/packages/redux-devtools-rtk-query-monitor/src/containers/RtkQueryInspector.tsx +++ b/packages/redux-devtools-rtk-query-monitor/src/containers/RtkQueryInspector.tsx @@ -5,7 +5,6 @@ import { QueryFormValues, QueryPreviewTabs, RtkQueryMonitorState, - StyleUtils, SelectorsSource, RtkResourceInfo, } from '../types'; @@ -27,7 +26,6 @@ type ForwardedMonitorProps> = Pick< export interface RtkQueryInspectorProps> extends ForwardedMonitorProps { dispatch: Dispatch>; - styleUtils: StyleUtils; } type RtkQueryInspectorState = { @@ -111,9 +109,6 @@ class RtkQueryInspector> extends PureComponent< render(): ReactNode { const { selectorsSource, isWideLayout } = this.state; - const { - styleUtils: { styling }, - } = this.props; const allVisibleRtkResourceInfos = this.selectors.selectAllVisbileQueries(selectorsSource); @@ -202,7 +197,6 @@ class RtkQueryInspector> extends PureComponent< resInfo={currentResInfo} selectedTab={selectorsSource.monitorState.selectedPreviewTab} onTabChange={this.handleTabChange} - styling={styling} isWideLayout={isWideLayout} hasNoApis={hasNoApi} /> diff --git a/packages/redux-devtools-rtk-query-monitor/src/containers/RtkQueryMonitor.tsx b/packages/redux-devtools-rtk-query-monitor/src/containers/RtkQueryMonitor.tsx index 8b460ce3..6b54533a 100644 --- a/packages/redux-devtools-rtk-query-monitor/src/containers/RtkQueryMonitor.tsx +++ b/packages/redux-devtools-rtk-query-monitor/src/containers/RtkQueryMonitor.tsx @@ -14,11 +14,7 @@ import { StyleUtilsContext, } from '../styles/createStylingFromTheme'; import { ThemeProvider } from '@emotion/react'; -import { - getBase16Theme, - invertBase16Theme, - invertTheme, -} from 'react-base16-styling'; +import { getBase16Theme, invertBase16Theme } from 'react-base16-styling'; import * as reduxThemes from 'redux-devtools-themes'; interface DefaultProps { @@ -74,7 +70,6 @@ class RtkQueryMonitor> extends Component< currentStateIndex={currentStateIndex} monitorState={monitorState} dispatch={dispatch} - styleUtils={this.state.styleUtils} actionsById={actionsById} />