Page MenuHomePhabricator

[web] Modify Button so that onClick function can return any type
ClosedPublic

Authored by tomek on Jun 14 2022, 12:21 PM.
Tags
None
Referenced Files
F3182872: D4265.id.diff
Fri, Nov 8, 8:08 AM
Unknown Object (File)
Tue, Nov 5, 2:00 AM
Unknown Object (File)
Oct 4 2024, 1:05 PM
Unknown Object (File)
Sep 20 2024, 7:07 PM
Unknown Object (File)
Sep 20 2024, 7:02 PM
Unknown Object (File)
Sep 20 2024, 6:52 PM
Unknown Object (File)
Sep 20 2024, 6:51 PM
Unknown Object (File)
Sep 20 2024, 4:38 PM

Details

Summary

Our current button version doesn't work with async functions - which return promises. Instead of using void we should use mixed because we don't care about the returned value.

Test Plan

Flow

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable