Open
Description
Describe the bug
The UI does not update when a post is deleted. Request to delete the post to backend works as expected.
Steps to Reproduce
Step 1: Create a post
Step 2: Hit the API through postman to fetch the list of all posts, the post we created in step 1 would be in this list
Step 3: Delete the post though frontend
Step 4: Hit the API through postman to fetch the list of all posts, the post we created in step 1 would NOT be in the list but it's still visible on the frontend.
Expected behavior
The UI should update on the successful deletion of the post.
Desktop:
- OS: Ubuntu 20.04
- Browser: Chrome
- Version: 85
Additional context
Hacktoberfest