aboutsummaryrefslogtreecommitdiff
path: root/src/utils/users.ts
diff options
context:
space:
mode:
authorAshm Walia <40498934+ashmgarv@users.noreply.github.com>2020-12-30 11:36:44 -0800
committerGitHub <noreply@github.com>2020-12-30 14:36:44 -0500
commit38661e00281363b0f4ad32f0b29d739e1ca09164 (patch)
tree316cd837b6cc6ae24783f1d93d6c9ee7fb898f68 /src/utils/users.ts
parentbd2f89805d0bb1c2f1d08fe8d91099aa4f109d35 (diff)
[TMA - 457]Change followers to friends (#149)
* One commit to replace followers with friends * Move block unblock to drawer and some cosmetic changes * Options to edit own profile when viewing * Changes for University Class * Small fix * Made ProfileOnboarding a scroll view and other small changes * Small fix * Small fix thanks to ivan and tanmay * Add ?
Diffstat (limited to 'src/utils/users.ts')
-rw-r--r--src/utils/users.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/users.ts b/src/utils/users.ts
index be92d184..bcb43cbc 100644
--- a/src/utils/users.ts
+++ b/src/utils/users.ts
@@ -4,7 +4,7 @@ import {loadSocialPosts} from '../services';
import {
loadAllSocials,
loadBlockedList,
- loadFollowData,
+ loadFriendsData,
loadRecentlySearched,
loadUserData,
loadUserMoments,
@@ -21,7 +21,7 @@ import {ScreenType, UserType} from './../types/types';
const loadData = async (dispatch: AppDispatch, user: UserType) => {
await Promise.all([
dispatch(loadUserData(user)),
- dispatch(loadFollowData(user.userId)),
+ dispatch(loadFriendsData(user.userId)),
dispatch(loadUserMomentCategories(user.userId)),
dispatch(loadUserMoments(user.userId)),
dispatch(loadUserNotifications()),