Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
FALAK097 opened this issue Dec 21, 2022 · 1 comment
Open

Comments

@FALAK097
Copy link

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

@outterspacem
Copy link

outterspacem commented Dec 29, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants