chore: entferne Mockdaten-Support (NEXT_PUBLIC_USE_MOCK_API)

- Mock-Verzeichnis und Umgebungsvariable entfernt
- README.md aktualisiert (kein Mockmodus mehr)
- Projekt verwendet jetzt ausschließlich reale Datenquellen (MySQL, TALAS.web)
- Version auf 1.1.186 erhöht
This commit is contained in:
ISA
2025-05-27 09:56:32 +02:00
parent dac7d1335f
commit c754dcbc30
5 changed files with 38 additions and 7 deletions

View File

@@ -37,9 +37,7 @@ export const useMapComponentState = () => {
// POI-Typen laden
useEffect(() => {
if (process.env.NEXT_PUBLIC_USE_MOCK_API === "true") {
console.warn("⚠️ POI-Typen im Mock-Modus Redux-Thunk wird nicht ausgeführt.");
} else if (poiTypStatus === "idle") {
if (poiTypStatus === "idle") {
dispatch(fetchPoiTypThunk());
}
}, [dispatch, poiTypStatus]);