aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-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;