refactor: GIS-Redux-Slices reduziert auf 4 (statt 5) – veraltete Slices und Thunks entfernt, Code bereinigt
This commit is contained in:
11
redux/thunks/fetchGisSystemStaticThunk.js
Normal file
11
redux/thunks/fetchGisSystemStaticThunk.js
Normal file
@@ -0,0 +1,11 @@
|
||||
// /redux/thunks/fetchGisSystemStaticThunk.js
|
||||
|
||||
import { createAsyncThunk } from "@reduxjs/toolkit";
|
||||
import { fetchGisSystemStaticService } from "../../services/webservice/fetchGisSystemStaticService";
|
||||
|
||||
/**
|
||||
* Redux-Thunk für fetchGisSystemStatic
|
||||
*/
|
||||
export const fetchGisSystemStaticThunk = createAsyncThunk("gisSystemStatic/fetch", async () => {
|
||||
return await fetchGisSystemStaticService();
|
||||
});
|
||||
Reference in New Issue
Block a user