Open ccorkery97 opened 4 years ago
I fixed some of the minor changes but wasn't sure what you wanted with the services, did you want me to make my own services for connections and add those functions in there?
I did try putting the different cards into the render method but i couldn't get it to work and display each user in the array.
With the request functionality I wasn't sure how to set up the backend so that the request array would have not only the id the request is from but also if it is accepted or not, so i just have and array of id's and when one is accepted it is removed from the array.
Before this PR can be merged: functions should be added to services, JSX should be put inside render, and the logic of the functionality should be done in such a way where requests have an ID field denoting from which user the request is and also a boolean field showing whether the request has been accepted or not.