добавил api клиент, исправил стор, слайсы для продуктов и категорий
This commit is contained in:
1 parent
86f53ba61f
commit
181a24571c
8 files changed
+122
-167
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import React, { useEffect } from "react";
|
||||
import { useParams } from "react-router-dom";
|
||||
import type { RootState } from "../../app/store";
|
||||
import { getCategoryProducts } from "../../features/catalog/catalogSlice";
|
||||
import { getCategoryProducts } from "../../features/catalog/productsSlice";
|
||||
import CatalogSidebar from "../../features/catalog/catalogeSidebar"
|
||||
import ProductGrid from "../../features/catalog/ProductGrid";
|
||||
import styles from "../../features/catalog/catalog.module.css";
|
||||
|
||||
Reference in new issue
Block a user