UNLV-CS472-672 / 2024-S-GROUP5-Munch

The Munch app is a social platform where users create profiles by selecting preferred foods.
1 stars 11 forks source link

Broken Post with Latest Main Code #113

Closed StacL closed 3 months ago

StacL commented 3 months ago

Describe the bug After pulling the latest changes, the post component is broken. I

To Reproduce Steps to reproduce the behavior:

  1. log in
  2. navigate to profile page
  3. click on a post
  4. 🔥 🔥 🔥

Screenshots If applicable, add screenshots to help explain your problem. image

StacL commented 3 months ago

Found issue is because of latest changes on friends page, which also use the Post component. Post component was changed to have additional data passed to it. Friends page properly passes in new data. but Profile page wasn't updated to also pass in new data. The split error is because key should be passed in but isn't