project_mern_memories
project_mern_memories copied to clipboard
Clicking on Edit icon navigates to the particular memory detailed post.
After implementing the detailed post navigation in PART 4, whenever we click on the Edit icon, it navigates to the detailed post instead of populating the content in the form to edit/update.
This issue is also present in the application hosted in PART 4. https://mernmemoriesjmasterytest.netlify.app/posts
hey bro can I ask you about an error I am facing in video part 2??
@adrianhajdin, I noticed this too when I was following your tutorial for part 4.
This behavior happens in the client/src/components/Posts/Post/Post.js
I moved the <MoreHorizIcon> snippet out of the <ButtonBase> component and into the next <CardActions> one. It works now. BTW, I'm learning how to do a pull request as I also want to propose a validation hook for the image upload.
@alejandro-alcaide I was thinking maybe I can provide a "More Details" kind of link and show around 25-30 chars on the memory card. And when the user clicks on More details, they will be navigated to the detailed view of that memory.