From 54de628b27647099170bc6d5eea7110c8dd5e8f0 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Thu, 25 Mar 2021 14:21:43 -0400 Subject: renamed to profile and header --- src/store/actions/user.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/store/actions') diff --git a/src/store/actions/user.ts b/src/store/actions/user.ts index aae38d94..46f96d9a 100644 --- a/src/store/actions/user.ts +++ b/src/store/actions/user.ts @@ -42,8 +42,8 @@ export const loadUserData = ( const token = await getTokenOrLogout(dispatch); const [profile, avatar, cover] = await Promise.all([ loadProfileInfo(token, user.userId), - getProfilePic(token, user.userId, 'small'), - getProfilePic(token, user.userId, 'large'), + getProfilePic(token, user.userId, 'profile'), + getProfilePic(token, user.userId, 'header'), ]); dispatch({ type: userDetailsFetched.type, -- cgit v1.2.3-70-g09d2