Page MenuHomePhabricator

[native] convert useSelectFromGallery to selectFromGallery
ClosedPublic

Authored by ginsu on Apr 21 2023, 12:28 PM.
Tags
None
Referenced Files
F2191227: D7573.id25562.diff
Thu, Jul 4, 2:31 PM
Unknown Object (File)
Wed, Jul 3, 7:45 PM
Unknown Object (File)
Wed, Jul 3, 1:36 PM
Unknown Object (File)
Wed, Jul 3, 3:20 AM
Unknown Object (File)
Wed, Jul 3, 3:18 AM
Unknown Object (File)
Wed, Jul 3, 2:19 AM
Unknown Object (File)
Wed, Jul 3, 1:35 AM
Unknown Object (File)
Wed, Jul 3, 1:34 AM
Subscribers

Details

Summary

We don't need to use a hook for this function since we are not dealing with state or other react hooks

Test Plan

No flow errors, and I was still able to create a new avatar from a photo in my gallery

Diff Detail

Repository
rCOMM Comm
Branch
avatars-cleanup (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

remove export for useUploadSelectedMedia

This revision is now accepted and ready to land.Apr 25 2023, 1:02 PM