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.

19 lines
428 B

import { configureStore, createSerializableStateInvariantMiddleware, getDefaultMiddleware } from '@reduxjs/toolkit'
import kanjiReducer from './reducers/kanjiReducer';
// Reference here all your application reducers
const reducer = {
kanjiReducer: kanjiReducer,
}
// @ts-ignore
const store = configureStore(
{
reducer,
middleware: getDefaultMiddleware({
serializableCheck: false
})
},);
export default store;