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
Paths
| Differential D10163 Authored by ashoat on Dec 4 2023, 1:10 PM.
Tags None Referenced Files
Subscribers None
Details 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
Diff Detail
Event Timelineashoat added a child revision: D10164: [web] Don't handle promise for onDeviceTokenRegistered call in PushNotifsHandler. Harbormaster completed remote builds in B24742: Diff 34205.Dec 4 2023, 2:28 PM2023-12-04 14:28:18 (UTC-8) This revision is now accepted and ready to land.Dec 5 2023, 5:07 AM2023-12-05 05:07:10 (UTC-8) Closed by commit rCOMM37f8ead8e105: [web] Return dispatchCreateSubchannel directly in Stepper.Item nextProps (authored by ashoat). · Explain WhyDec 5 2023, 12:32 PM2023-12-05 12:32:46 (UTC-8) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 34205 web/components/stepper.react.js
web/modals/threads/create/compose-subchannel-modal.react.js
|