Skip to content

Commit fd0e2ff

Browse files
committed
remove unused selector
1 parent fe5209d commit fd0e2ff

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { createSelector } from '@mui/x-internals/store';
2-
import { selectorChartZoomOptionsLookup } from '@mui/x-charts/internals';
32
import { selectorChartZoomState } from './useChartProZoom.selectors';
43
import type { ZoomInteractionName, PanInteractionName } from './ZoomInteractionConfig.types';
54

@@ -14,10 +13,3 @@ export const selectorPanInteractionConfig = createSelector(
1413
(zoomState, interactionName: PanInteractionName) =>
1514
zoomState.zoomInteractionConfig.pan[interactionName] ?? null,
1615
);
17-
18-
export const selectorIsZoomBrushEnabled = createSelector(
19-
selectorChartZoomOptionsLookup,
20-
(state) => selectorZoomInteractionConfig(state, 'brush'),
21-
(zoomOptions, zoomInteractionConfig) =>
22-
(Object.keys(zoomOptions).length > 0 && zoomInteractionConfig) || false,
23-
);

0 commit comments

Comments
 (0)