Merge branch 'v1.0.8.1' into fix/ohne-externe-babel

This commit is contained in:
ISA
2025-02-05 10:27:36 +01:00
88 changed files with 5425 additions and 459 deletions

View File

@@ -1,7 +1,17 @@
//redux/slices/readPoiMarkersStoreSlice.js
import { atom } from 'recoil';
import { atom } from "recoil";
export const readPoiMarkersStore = atom({
key: 'readPoiMarkersStore',
default: [],
});
const storeKey = "readPoiMarkersStore";
// Verhindert doppelte Registrierung bei HMR
export const readPoiMarkersStore =
globalThis.readPoiMarkersStore ||
atom({
key: storeKey,
default: [],
});
// Speichert das Atom im globalen Namespace (nur in Dev)
if (process.env.NODE_ENV !== "production") {
globalThis.readPoiMarkersStore = readPoiMarkersStore;
}