diff --git a/src/views/Product/Desktop/ProductOverAll/index.js b/src/views/Product/Desktop/ProductOverAll/index.js index 3a1c3d6..410f2aa 100644 --- a/src/views/Product/Desktop/ProductOverAll/index.js +++ b/src/views/Product/Desktop/ProductOverAll/index.js @@ -79,7 +79,7 @@ export const ProductOverAll = ({ book, grades, isDark, loading }) => { /> مشاهده نمونه diff --git a/src/views/Products/layouts/Desktop/Main.js b/src/views/Products/layouts/Desktop/Main.js index 0e9eb8a..3e38572 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://dnvn.ir/api/v1/userProduct/list"); + const res = await axios.get("https://jsonplaceholder.typicode.com/posts"); setPosts(res.data); setLoading(false); }; @@ -297,7 +297,7 @@ export const Main = ({ )} -