aboutsummaryrefslogtreecommitdiff
path: root/src/utils/users.ts
diff options
context:
space:
mode:
authorAshm Walia <40498934+ashmgarv@users.noreply.github.com>2020-12-22 08:50:27 -0800
committerGitHub <noreply@github.com>2020-12-22 11:50:27 -0500
commita954d6b6b88485dddc0ccfda634ffd102cb34ccd (patch)
tree560f152dd92ccb482a2bbf6b094060525373322c /src/utils/users.ts
parent49ed044f5103cf6288fcf5b3ff6d3d720795860c (diff)
[TMA 446] Create category (#144)
* Added welcome page * Working code * Small fix * Some more cleanup * Fixes * Cleanup * Fix again * Use gradient for white bg as well * Fixed type
Diffstat (limited to 'src/utils/users.ts')
-rw-r--r--src/utils/users.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/users.ts b/src/utils/users.ts
index 0ed490c7..4f93347d 100644
--- a/src/utils/users.ts
+++ b/src/utils/users.ts
@@ -1,3 +1,4 @@
+import {loadUserMomentCategories} from './../store/actions/momentCategories';
import {loadUserX} from './../store/actions/userX';
import {RootState} from './../store/rootReducer';
import AsyncStorage from '@react-native-community/async-storage';
@@ -20,6 +21,7 @@ const loadData = async (dispatch: AppDispatch, user: UserType) => {
await Promise.all([
dispatch(loadUserData(user)),
dispatch(loadFollowData(user.userId)),
+ dispatch(loadUserMomentCategories(user.userId)),
dispatch(loadUserMoments(user.userId)),
dispatch(loadAllSocials(user.userId)),
dispatch(loadBlockedList(user.userId)),