file: create index.js file in the components directory that contains all the...

This commit is contained in:
Leon Xu committed 2022-09-03 20:22:11 +00:00
1 parent 6cea768210
commit 2d6884389f
69 files changed
+1341 -61

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
import { configureStore } from '@reduxjs/toolkit';
import { tmdbApi } from '../services/TMDB';
import genreOrCategoryReducer from '../features/currentGenreOrCategory';
import userReducer from '../features/auth';
export default configureStore({
reducer: {
[tmdbApi.reducerPath]: tmdbApi.reducer,
currentGenreOrCategory: genreOrCategoryReducer,
user: userReducer,
},
});