The ProfileCard component and stub profile page have already been implemented in #61. The scope of this ticket is to make an API call to fetch the profile and listings corresponding to the userId in the URL and display the ProfileCard component, as well as any listing created by that user on the profile page.
The user listings view should be similar to that in #103, but without the ability to edit/delete listings in the list.
Definition of Done:
[x] On the profile page, call the GET /api/v1/users/{userId}/profile endpoint and render the ProfileCard
[x] In the ProfileCard component, continue displaying a placeholder avatar for the user
[ ] On the profile page, call GET /api/v1/users/{userId}/listings and render the user's listings in a similar list to #103
The ProfileCard component and stub profile page have already been implemented in #61. The scope of this ticket is to make an API call to fetch the profile and listings corresponding to the userId in the URL and display the ProfileCard component, as well as any listing created by that user on the profile page.
The user listings view should be similar to that in #103, but without the ability to edit/delete listings in the list.
Definition of Done:
GET /api/v1/users/{userId}/profile
endpoint and render theProfileCard
ProfileCard
component, continue displaying a placeholder avatar for the userGET /api/v1/users/{userId}/listings
and render the user's listings in a similar list to #103