forked from lucas.delanier/MovieFinder
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
367 B
16 lines
367 B
import { configureStore } from '@reduxjs/toolkit'
|
|
import appReducer from "./reducers/appReducer";
|
|
const reducer = {
|
|
appReducer: appReducer,
|
|
}
|
|
|
|
const store= configureStore({
|
|
// @ts-ignore
|
|
reducer: reducer,
|
|
middleware: (getDefaultMiddleware) =>
|
|
getDefaultMiddleware({
|
|
serializableCheck: false,
|
|
}),
|
|
},);
|
|
|
|
export default store; |