HomePhabricator
Diffusion Comm 37f8ead8e105

[web] Return dispatchCreateSubchannel directly in Stepper.Item nextProps

Description

[web] Return dispatchCreateSubchannel directly in Stepper.Item nextProps

Summary:
While working on the unused-promise Flow lint, I noticed that we can simplify this code if we adjust the API in the Stepper component to allow mixed instead of void returns.

Depends on D10162

Test Plan: Flow

Reviewers: tomek

Reviewed By: tomek

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

Details

Provenance
ashoatAuthored on Dec 2 2023, 1:06 PM
Reviewer
tomek
Differential Revision
D10163: [web] Return dispatchCreateSubchannel directly in Stepper.Item nextProps
Parents
rCOMM91212c47fdb7: [web] Hide that InputState.sendTextMessage returns a Promise
Branches
Unknown
Tags
Unknown