добавил api клиент, исправил стор, слайсы для продуктов и категорий

This commit is contained in:
Joe_Peach committed 2025-11-23 23:31:55 +03:00
1 parent 86f53ba61f
commit 181a24571c
8 files changed
+122 -167

No files matched your search

+1 -1
View File
@@ -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";