[lib] Update CurrentUserInfo on updateUserAvatarActionTypes.success
Summary: We want to update CurrentUserInfo in Redux on successful updateUserAvatarActionTypes.success.
Test Plan:
- Observe that avatar is set:
- Send { type: 'remove' } to update_user_avatar and observe that the avatar is unset in Redux:
- Send
const emojiUpdateRequest = { type: 'emoji', emoji: '👍', color: '4b87aa', };
to update_user_avatar and observe that CurrentUserInfo is updated as expected:
Reviewers: ashoat, ginsu
Reviewed By: ashoat
Subscribers: tomek
Differential Revision: https://phab.comm.dev/D7156