Browse Source

Update packages/web/src/components/PageComponents/Map/Tools/MapLayerTool.tsx

Co-authored-by: Copilot <[email protected]>
pull/894/head
Dan Ditomaso 8 months ago
committed by GitHub
parent
commit
2c65e5fa41
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      packages/web/src/components/PageComponents/Map/Tools/MapLayerTool.tsx

2
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) => {

Loading…
Cancel
Save