aboutsummaryrefslogtreecommitdiff
path: root/src/store/actions
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-03-25 14:21:43 -0400
committerIvan Chen <ivan@tagg.id>2021-03-25 14:21:43 -0400
commit54de628b27647099170bc6d5eea7110c8dd5e8f0 (patch)
tree3860a6a4150d8ba453bc7237243b1b5e97961443 /src/store/actions
parente80e22569e9699b5bc0f2f7e3cc2f0e790e382a8 (diff)
renamed to profile and header
Diffstat (limited to 'src/store/actions')
-rw-r--r--src/store/actions/user.ts4
1 files changed, 2 insertions, 2 deletions
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,