Skip to content

Commit 612117d

Browse files
committed
feat: Close sidebar if clicking on empty map
1 parent 5474367 commit 612117d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/components/PropertyMap.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ const PropertyMap: React.FC<PropertyMapProps> = ({
126126
feature: features[0].properties,
127127
});
128128
} else {
129+
setSelectedProperty(null);
129130
setPopupInfo(null);
130131
}
131132
}

0 commit comments

Comments
 (0)