diff --git a/src/components/PublishArea.tsx b/src/components/PublishArea.tsx
index a8102d6..a92b1ad 100644
--- a/src/components/PublishArea.tsx
+++ b/src/components/PublishArea.tsx
@@ -41,7 +41,7 @@ const PublishArea = ({ publishedPlaces, onAddToPublish = undefined, onRemoveFrom
{t('publish-map-area')}
- { publishedPlaces === '[]' ?
+ { publishedPlaces.length > 0 ?
<>
{publishedPlaces.map(place => (
- {
if (!publishedPlaces.some(p => p.id === place.id)) {
setPublishedPlaces(prevPlaces => [...prevPlaces, place]);
}
-
};
const handleSelectPlace = (place) => {
if (selectedPlace === null || !selectedPlace || selectedPlace.id !== place.id ) {