Replies: 2 comments
-
Hi there, if you're using the frontend api you can fetch products by doing something like this #################### console.log(response) //should show you the response on the console } fetchProducts();
|
Beta Was this translation helpful? Give feedback.
-
also remember useEffect is a client side feature so you would need to mark the page as 'use client' if you want to use useEffect to show the response |
Beta Was this translation helpful? Give feedback.
-
Fixed
Beta Was this translation helpful? Give feedback.
All reactions