when refreshing the page the uploaded photos disappear, how can i solve this problem
Hi Saga,
I'm not sure why this would happen, but can you confirm that you have a useEffect call that fetches the images?
yeah, but the fetch functions are being called, but the urlpath generated is wrong, returns 404
You need to save the id in a state probably
ever come up with a solution for this?
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
when refreshing the page the uploaded photos disappear, how can i solve this problem
Hi Saga,
I'm not sure why this would happen, but can you confirm that you have a useEffect call that fetches the images?
yeah, but the fetch functions are being called, but the urlpath generated is wrong, returns 404
You need to save the id in a state probably
ever come up with a solution for this?