Connected the backend functions to the button in front end for friends page and viewProfile page.
Also added an additional function for fetching the list of accepted users. There is still a problem with getting the user asynchronously, but functionality-wise, friend request and accept work.
TODO: if time permits, add Reject and Delete buttons back to the friends list. Currently, I have removed the buttons from the FriendList component.
Description:
TODO: if time permits, add Reject and Delete buttons back to the friends list. Currently, I have removed the buttons from the FriendList component.
Estimated time taken: 3 days