Skip to content

Commit

Permalink
Remove unused app state property
Browse files Browse the repository at this point in the history
  • Loading branch information
chowington committed Aug 30, 2023
1 parent 1b9f33a commit cadcba3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions packages/libs/eda/src/lib/map/analysis/MapAnalysis.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ function MapAnalysisImpl(props: ImplProps) {
setSubsetVariableAndEntity,
sharingUrl,
setIsSidePanelExpanded,
setIsSubsetPanelOpen = () => {},
setMarkerConfigurations,
setActiveMarkerConfigurationType,
geoConfigs,
Expand Down Expand Up @@ -552,7 +551,6 @@ function MapAnalysisImpl(props: ImplProps) {
: 0;

function openSubsetPanelFromControlOutsideOfNavigation() {
setIsSubsetPanelOpen(true);
setActiveSideMenuId(MapSideNavItemLabels.Filter);
setIsSidePanelExpanded(true);
}
Expand Down
2 changes: 0 additions & 2 deletions packages/libs/eda/src/lib/map/analysis/appState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ export const AppState = t.intersection([
entityId: t.string,
variableId: t.string,
}),
isSubsetPanelOpen: t.boolean,
}),
]);

Expand Down Expand Up @@ -225,7 +224,6 @@ export function useAppState(uiStateKey: string, analysisState: AnalysisState) {
setMarkerConfigurations: useSetter('markerConfigurations'),
setBoundsZoomLevel: useSetter('boundsZoomLevel'),
setIsSidePanelExpanded: useSetter('isSidePanelExpanded'),
setIsSubsetPanelOpen: useSetter('isSubsetPanelOpen'),
setSubsetVariableAndEntity: useSetter('subsetVariableAndEntity'),
setViewport: useSetter('viewport'),
};
Expand Down

0 comments on commit cadcba3

Please sign in to comment.