Page MenuHomePhabricator

[native] introduce useSaveUserAvatar hook
ClosedPublic

Authored by ginsu on Apr 13 2023, 8:41 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 27, 2:19 AM
Unknown Object (File)
Sun, Oct 27, 2:19 AM
Unknown Object (File)
Sun, Oct 27, 2:19 AM
Unknown Object (File)
Sun, Oct 27, 2:19 AM
Unknown Object (File)
Sun, Oct 27, 2:19 AM
Unknown Object (File)
Sun, Oct 27, 2:14 AM
Unknown Object (File)
Sep 26 2024, 7:00 AM
Unknown Object (File)
Sep 21 2024, 4:17 AM
Subscribers

Details

Summary

To better prepare the EmojiAvatarCreation component to handle both user and thread avatars I want to factor out this User avatar specfic function into a hook in the avatar util file so that the component won't be as cluttered when we extend to thread avatars


Depends on D7423

Test Plan

flow and I am still able to save my avatar with the expected behavior

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ginsu requested review of this revision.Apr 13 2023, 9:05 AM

Didn't review too closely since it looks like just a "factor out" diff. Please wait for CI to pass before landing

This revision is now accepted and ready to land.Apr 13 2023, 10:02 AM
This revision was automatically updated to reflect the committed changes.