diff --git a/components/ShowAddStationPopup.js b/components/ShowAddStationPopup.js index a303772fe..4415d2041 100644 --- a/components/ShowAddStationPopup.js +++ b/components/ShowAddStationPopup.js @@ -109,6 +109,9 @@ const ShowAddStationPopup = ({ onClose, map, latlng }) => { onClose(); return newTrigger; }); + + // Browser aktualisieren + window.location.reload(); } else { console.error("Fehler beim Hinzufügen des POI"); } @@ -117,6 +120,7 @@ const ShowAddStationPopup = ({ onClose, map, latlng }) => { map.closePopup(); } }; + //-----------------handleSubmit------------------- return (