We could add a void here instead, but onImageSelected is already an async function, and the place we're passing it to doesn't await the result anyways. So might as well just add an await keyword.
Depends on D10174
Paths
| Differential D10175 Authored by ashoat on Dec 4 2023, 1:17 PM.
Details Summary We could add a void here instead, but onImageSelected is already an async function, and the place we're passing it to doesn't await the result anyways. So might as well just add an await keyword. Depends on D10174 Test Plan Flow
Diff Detail
Event TimelineHerald added a subscriber: tomek. · View Herald TranscriptDec 4 2023, 1:17 PM2023-12-04 13:17:08 (UTC-8) Harbormaster returned this revision to the author for changes because remote builds failed.Dec 4 2023, 1:50 PM2023-12-04 13:50:45 (UTC-8) Harbormaster completed remote builds in B24770: Diff 34233.Dec 4 2023, 7:33 PM2023-12-04 19:33:31 (UTC-8) This revision is now accepted and ready to land.Dec 4 2023, 9:50 PM2023-12-04 21:50:43 (UTC-8) Closed by commit rCOMM1f86a1b1dc52: [web] await baseSetThreadAvatar/baseSetUserAvatar in onImageSelected (authored by ashoat). · Explain WhyDec 5 2023, 12:33 PM2023-12-05 12:33:06 (UTC-8) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 34309 web/avatars/edit-thread-avatar-menu.react.js
web/avatars/edit-user-avatar-menu.react.js
|