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
Unknown Object (File)
Tue, Nov 12, 11:36 AM
Unknown Object (File)
Sat, Nov 9, 11:41 AM
Unknown Object (File)
Sat, Nov 9, 11:41 AM
Unknown Object (File)
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

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