исправил хранилище и слайсы для страницы каиалога

This commit is contained in:
Joe_Peach committed 2025-11-21 18:32:59 +03:00
1 parent 8dc704c466
commit a9b5d57fc9
3 files changed
+28 -21

No files matched your search

+4 -3
View File
@@ -3,12 +3,13 @@ import catalogReducer from "../features/catalog/catalogSlice";
export const store = configureStore({
reducer: {
catalog: catalogReducer,
categories: categoriesReducer,
products: productsReducer,
},
middleware: (getDefaultMiddleware) =>
/*middleware: (getDefaultMiddleware) =>
getDefaultMiddleware({
serializableCheck: false, // отключаем для async thunk
}),
}),*/
});
export type RootState = ReturnType<typeof store.getState>;