OPCUA Info Lesen in dashboard
This commit is contained in:
16
redux/store.ts
Normal file
16
redux/store.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
// redux/store.ts
|
||||
import { configureStore } from "@reduxjs/toolkit";
|
||||
import authReducer from "./slices/authSlice";
|
||||
import variablesReducer from "./slices/variablesSlice";
|
||||
|
||||
const store = configureStore({
|
||||
reducer: {
|
||||
auth: authReducer,
|
||||
variables: variablesReducer,
|
||||
},
|
||||
});
|
||||
|
||||
export type RootState = ReturnType<typeof store.getState>;
|
||||
export type AppDispatch = typeof store.dispatch;
|
||||
|
||||
export default store;
|
||||
Reference in New Issue
Block a user