diff options
-rw-r--r-- | src/utils/friends.ts | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/utils/friends.ts b/src/utils/friends.ts index a0ff879a..ba15e087 100644 --- a/src/utils/friends.ts +++ b/src/utils/friends.ts @@ -42,16 +42,6 @@ export const handleFriendUnfriend = async ( dispatch(updateUserXProfileAllScreens(user.userId, state)); }; -/* - * When user logged in clicks on the friend button: - A request is sent. - Which means you have to update the status of their friendshpi to requested - When the status is changed to requested the button should change to requested. - When the button is changed to requested and thr user clicks on it, - a request much go to the backend to delete that request - When that succeeds, their friendship must be updated to no-record again; - When the button is changed to no_record, the add friends button should be displayed again - */ export const handleUnfriend = async ( screenType: ScreenType, friend: ProfilePreviewType, |