HomePhabricator
Diffusion Comm 4009762e9852

[native] Pass on nativeSetUserAvatar's Promise to actionSheetConfig

Description

[native] Pass on nativeSetUserAvatar's Promise to actionSheetConfig

Summary:
actionSheetConfig can take a => mixed function here, so we can pass the Promise directly to avoid triggering unused-promise Flow lint.

Dependds on D10166

Test Plan: Flow

Reviewers: atul, ginsu

Reviewed By: ginsu

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D10167

Details

Provenance
ashoatAuthored on Dec 2 2023, 4:54 PM
Reviewer
ginsu
Differential Revision
D10167: [native] Pass on nativeSetUserAvatar's Promise to actionSheetConfig
Parents
rCOMM3328a732bdfe: [keyserver] Deprecate streamJSON
Branches
Unknown
Tags
Unknown