|
|
|
@ -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 = ({ |
|
|
|
|
</Carousel> |
|
|
|
|
</div> |
|
|
|
|
)} |
|
|
|
|
<div className="w-full flex flex-row flex-wrap bg-blue-400 mt-0 border-t-2 border-solid border-gray-100 overflow-y-hidden gap-4 justify-evenly pt-3"> |
|
|
|
|
<div className="w-full flex flex-row flex-wrap mt-0 border-t-2 border-solid border-gray-100 overflow-y-hidden gap-4 justify-evenly pt-3"> |
|
|
|
|
{Items(1)} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|