From 66a498e6f09b99caf8998c957951e31ad6121603 Mon Sep 17 00:00:00 2001 From: mahdi andalib Date: Sat, 2 Jul 2022 11:54:31 +0430 Subject: [PATCH] =?UTF-8?q?=D8=B5=D9=81=D8=AD=D9=87=20=D8=A8=D9=86=D8=AF?= =?UTF-8?q?=DB=8C=20=DA=A9=D9=87=20=D9=86=D9=88=D8=B4=D8=AA=D9=85=20=D8=AF?= =?UTF-8?q?=D8=B1=D8=B3=D8=AA=20=DA=A9=D8=A7=D8=B1=20=DA=A9=D8=B1=D8=AF=20?= =?UTF-8?q?|=2030?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Products/layouts/Desktop/Main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/Products/layouts/Desktop/Main.js b/src/views/Products/layouts/Desktop/Main.js index 45ba2ad..0e9eb8a 100644 --- a/src/views/Products/layouts/Desktop/Main.js +++ b/src/views/Products/layouts/Desktop/Main.js @@ -137,7 +137,7 @@ export const Main = ({ useEffect(() => { const fetchPosts = async () => { setLoading(true); - const res = await axios.get("https://jsonplaceholder.typicode.com/posts"); + const res = await axios.get("https://dnvn.ir/api/v1/userProduct/list"); setPosts(res.data); setLoading(false); }; @@ -259,7 +259,7 @@ export const Main = ({ )} {books.length > 0 && ( -
+
)} -
+
{Items(1)}