Dan Ditomaso
8 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
packages/web/src/components/PageComponents/Map/Tools/MapLayerTool.tsx
|
|
|
@ -63,7 +63,7 @@ export function MapLayerTool({ |
|
|
|
const { t } = useTranslation("map"); |
|
|
|
|
|
|
|
const enabledCount = useMemo(() => { |
|
|
|
return Object.values(visibilityState).filter(Boolean).length || 0; |
|
|
|
return Object.values(visibilityState).filter(Boolean).length; |
|
|
|
}, [visibilityState]); |
|
|
|
|
|
|
|
const handleCheckboxChange = (key: keyof VisibilityState) => { |
|
|
|
|