added orai
This commit is contained in:
11
20250312/my-app/app/store/store.ts
Normal file
11
20250312/my-app/app/store/store.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import {configureStore} from "@reduxjs/toolkit";
|
||||
import counterReducer from "../components/CounterSlice";
|
||||
|
||||
export const store = configureStore({
|
||||
reducer: {
|
||||
counter: counterReducer,
|
||||
},
|
||||
});
|
||||
|
||||
export type RootState = ReturnType<typeof store.getState>;
|
||||
export type AppDispatch = typeof store.dispatch;
|
||||
Reference in New Issue
Block a user