This pull request introduces a modal that displays a list of users that the viewed profile follows and users that follow the account. This information is presented on the profile page when the user clicks either the link to see the followers or the following user list
Changes Made
I started by creating a custom FollowListModal which handles all the rendering of the list. The profile page uses the logic of acquiring the data using REST APIs of the endpoints I created in the backend. I pass the data to a useState array of type NetworkUsers that I have defined.
Closes #106
Summary
This pull request introduces a modal that displays a list of users that the viewed profile follows and users that follow the account. This information is presented on the profile page when the user clicks either the link to see the followers or the following user list
Changes Made
I started by creating a custom FollowListModal which handles all the rendering of the list. The profile page uses the logic of acquiring the data using REST APIs of the endpoints I created in the backend. I pass the data to a useState array of type NetworkUsers that I have defined.