diff options
author | Shravya Ramesh <shravs1208@gmail.com> | 2021-02-03 19:06:17 -0800 |
---|---|---|
committer | Shravya Ramesh <shravs1208@gmail.com> | 2021-02-03 19:06:17 -0800 |
commit | 40c247a8010c13067b557312f49aa0b72db556b8 (patch) | |
tree | 776b8ec43b23a834165c7396b79f5b6a5b024d3b | |
parent | a2423b84581a9f1997bac578115071fd3350d535 (diff) |
removed useless comment
-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, |