Skip to content
This repository was archived by the owner on Apr 24, 2024. It is now read-only.

Commit 550b858

Browse files
remove unused method
1 parent c56c020 commit 550b858

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import useMapStore from '../store/MapStore';
2-
import { LayerType } from '@/api_types/definitions';
32

43
export function isPlantLayerActive(): boolean {
54
const selectedLayerType = useMapStore.getState().getSelectedLayerType();
@@ -10,8 +9,3 @@ export function isBaseLayerActive(): boolean {
109
const selectedLayerType = useMapStore.getState().getSelectedLayerType();
1110
return selectedLayerType === 'base';
1211
}
13-
14-
export function isLayerOfTypeActive(layerType: LayerType): boolean {
15-
const selectedLayerType = useMapStore.getState().getSelectedLayerType();
16-
return selectedLayerType === layerType;
17-
}

0 commit comments

Comments
 (0)