project_mern_memories icon indicating copy to clipboard operation
project_mern_memories copied to clipboard

Post doesn't show up on the screen although present in the database.

Open FALAK097 opened this issue 2 years ago • 1 comments

errorPostnotShowing Post is present in the database but doesn't show up on the screen.

FALAK097 avatar Dec 21 '22 12:12 FALAK097

Hi @FALAK097 I am almost encountering the same issue - my posts are displayed fine at the time of creation and they even get created in my MongoDB cluster but I don't see anything in my browser console + I get the circular progress spinner when I reload the page (the posts don't get fetched). Did you manage to solve the issue?

Update: I solved the issue by making sure useEffect(() is under const dispatch = useDispatch(); in App.js

outterspacem avatar Dec 29 '22 14:12 outterspacem