Page MenuHomePhabricator

[native] introduce useSaveUserAvatar hook
ClosedPublic

Authored by ginsu on Apr 13 2023, 8:41 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 24, 4:33 PM
Unknown Object (File)
Mon, Jun 24, 12:30 AM
Unknown Object (File)
Fri, Jun 21, 2:22 PM
Unknown Object (File)
Fri, Jun 21, 4:53 AM
Unknown Object (File)
Fri, Jun 21, 4:49 AM
Unknown Object (File)
Tue, Jun 18, 7:25 AM
Unknown Object (File)
Thu, Jun 13, 4:48 PM
Unknown Object (File)
Thu, Jun 13, 8:01 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.