Fixed StationSelectBug, Fixed HPGNotificationGuf, see #45

This commit is contained in:
PxlLoewe
2025-07-06 12:53:04 -07:00
parent 690f4876d6
commit 9b954e4053
8 changed files with 60 additions and 37 deletions

View File

@@ -73,7 +73,6 @@ const StationsLayer = ({ attribution }: { attribution: Control.Attribution }) =>
queryKey: ["stations"],
queryFn: () => getStationsAPI(),
});
console.log("StationsLayer: stations", stations);
const [selectedStations, setSelectedStations] = useState<Station["id"][]>([]);
const attributionText = "";
@@ -306,14 +305,6 @@ const WindfarmOutlineLayer = () => {
export const BaseMaps = () => {
const map = useMap();
const isPannelOpen = usePannelStore((state) => state.isOpen);
useEffect(() => {
setTimeout(() => {
map.invalidateSize();
}, 600);
}, [isPannelOpen]);
return (
<LayersControl position="topleft">
<LayersControl.Overlay name={"Leitstellenbereiche"}>