feat: Redux-Integration für Meldungen, Anzeige von 'v' statt 's' in UI

This commit is contained in:
ISA
2025-06-30 08:59:48 +02:00
parent 2a9bebb4bc
commit 62de915485
19 changed files with 1647 additions and 1104 deletions

View File

@@ -0,0 +1,10 @@
// redux/thunks/getMessagesThunk.ts
import { createAsyncThunk } from "@reduxjs/toolkit";
import { fetchMessagesService } from "@/services/fetchMessagesService";
export const getMessagesThunk = createAsyncThunk(
"messages/getAll",
async ({ fromDate, toDate }: { fromDate: string; toDate: string }) => {
return await fetchMessagesService(fromDate, toDate);
}
);