From 3cc3dc3542d57ae6fa57dbbcb8d3ad7ffda72d4d Mon Sep 17 00:00:00 2001 From: alij Date: Sun, 10 Nov 2024 19:47:59 +0330 Subject: [PATCH] (chore) chnage active id --- src/pages/shop/section/productList/ProductList.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/shop/section/productList/ProductList.tsx b/src/pages/shop/section/productList/ProductList.tsx index 97bdfca..ade86fc 100644 --- a/src/pages/shop/section/productList/ProductList.tsx +++ b/src/pages/shop/section/productList/ProductList.tsx @@ -8,7 +8,9 @@ import { useSelector } from "react-redux"; const ProductList = () => { const { id } = useSelector((state: RootState) => state.configIdState); - const [activeId, setActiveId] = useState(4); + + // soheil + const [activeId, setActiveId] = useState(2); const axios = useAxios(); const { data, error, isLoading, isFetching } = useQuery({ queryKey: ["categories"],