This commit is contained in:
ISA
2025-05-28 08:04:34 +02:00
parent 97fbb6fdc1
commit 5f0133d638
107 changed files with 1446 additions and 454 deletions

View File

@@ -0,0 +1,25 @@
<!-- /docs/redux/thunks/database/area/updateAreaThunk.md -->
# ✏️ updateAreaThunk.js
Async-Thunk zum Aktualisieren der Koordinaten eines Bereichs (Area).
## Verwendung
```js
dispatch(updateAreaThunk({
idLocation: 5,
idMap: 2,
x: 53.215,
y: 8.45
}));
```
## Quelle
- Ruft `updateAreaService(payload)` auf
## Verhalten
- Gibt `await`-Ergebnis direkt zurück
- Fehlerbehandlung wird vom aufrufenden Slice übernommen