aboutsummaryrefslogtreecommitdiff
path: root/src/utils/friends.ts
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-03-18 19:48:53 -0400
committerGitHub <noreply@github.com>2021-03-18 19:48:53 -0400
commitaa0ddb7c5a6612ff067f7dce1c6d5b083db44309 (patch)
tree89326275ce5ff4e48bc29952c60856258cd8b0ab /src/utils/friends.ts
parent07a15098625786451270e30e61e2d6e78c02d4db (diff)
parent9a7e34bf992e0bfa3b9ce7d83643d97fad209e6e (diff)
Merge pull request #303 from shravyaramesh/add-friends-thru-contacts
[TMA-622] Add friends from contacts
Diffstat (limited to 'src/utils/friends.ts')
-rw-r--r--src/utils/friends.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/friends.ts b/src/utils/friends.ts
index 3398c123..55d65170 100644
--- a/src/utils/friends.ts
+++ b/src/utils/friends.ts
@@ -60,7 +60,7 @@ export const handleAddFriend = async (
dispatch: AppDispatch,
state: RootState,
) => {
- const success = await dispatch(addFriend(friend, screenType));
+ const success = await dispatch(addFriend(friend, screenType, state));
await dispatch(updateUserXFriends(friend.id, state));
await dispatch(updateUserXProfileAllScreens(friend.id, state));
return success;