You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
349 B

// redux/store.ts
import { configureStore } from '@reduxjs/toolkit'
import moveReducer from './reducers/moveReducer';
export type AppDispatch = typeof store.dispatch;
const store = configureStore({
reducer: {
move: moveReducer
},
middleware: (getDefaultMiddleware) => getDefaultMiddleware(),
});
export default store;