HomePhabricator
Diffusion Comm 1167f5350c24

[native] Remove async IIFE in CommunityDrawerContent effect

Description

[native] Remove async IIFE in CommunityDrawerContent effect

Summary:
This async IIFE was introduced in D7733. It's not clear to me why we need to await the Promise returned from dispatchActionPromise here, so I'm removing the await here.

If there's a reason for it, I can alternately add a void keyword preceding the async IIFE invocation to silence the unused-promise Flow lint.

Depends on D10173

Test Plan: Flow

Reviewers: tomek

Reviewed By: tomek

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

Details

Provenance
ashoatAuthored on Dec 4 2023, 11:25 AM
Reviewer
tomek
Differential Revision
D10174: [native] Remove async IIFE in CommunityDrawerContent effect
Parents
rCOMM7d8c0e0ae555: [native] Return inputState.sendMultimediaMessage Promise directly in…
Branches
Unknown
Tags
Unknown