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
478 B

import { configureStore, createSerializableStateInvariantMiddleware } 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: [createSerializableStateInvariantMiddleware({
ignoredActions: ["SET_KANJIS", "SET_SELECTED_KANJI"],
ignoreActions: true
})]
},);
export default store;