docs
This commit is contained in:
25
docs/redux/thunks/database/area/updateAreaThunk.md
Normal file
25
docs/redux/thunks/database/area/updateAreaThunk.md
Normal 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
|
||||
Reference in New Issue
Block a user