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
F3377755: D4265.diff
Wed, Nov 27, 7:04 AM
Unknown Object (File)
Sat, Nov 23, 4:36 PM
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

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
No Lint Coverage
Unit
No Test Coverage