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.
22 lines
542 B
22 lines
542 B
import { configureStore, getDefaultMiddleware } from '@reduxjs/toolkit';
|
|
import { SET_KANJIS, SET_PLAYGROUND_LIST, SET_SELECTED_KANJI } from './constants';
|
|
import kanjiReducer from './reducers/kanjiReducer';
|
|
|
|
// Reference here all your application reducers
|
|
const reducer = {
|
|
kanjiReducer: kanjiReducer,
|
|
}
|
|
|
|
// @ts-ignore
|
|
const store = configureStore(
|
|
{
|
|
reducer,
|
|
middleware: getDefaultMiddleware({
|
|
serializableCheck: {
|
|
ignoredActions: [SET_KANJIS, SET_PLAYGROUND_LIST, SET_SELECTED_KANJI]
|
|
}
|
|
})
|
|
|
|
},);
|
|
|
|
export default store; |