Version 1.0.2 mit node_modules Verzeichnis

This commit is contained in:
ISA
2024-10-02 07:58:24 +02:00
parent f353a06b1b
commit 62b6e55a0a
68228 changed files with 4548477 additions and 651 deletions

12
redux/store.js Normal file
View File

@@ -0,0 +1,12 @@
// /redux/store.js
import { configureStore } from "@reduxjs/toolkit";
import websocketMiddleware from "./websocketMiddleware";
import websocketReducer from "./reducer";
// Erstelle den Store mit configureStore
const store = configureStore({
reducer: websocketReducer,
middleware: (getDefaultMiddleware) => getDefaultMiddleware().concat(websocketMiddleware),
});
export default store;