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)
Sun, Dec 22, 2:52 AM
Unknown Object (File)
Sat, Dec 14, 6:13 AM
Unknown Object (File)
Nov 27 2024, 9:56 AM
Unknown Object (File)
Nov 27 2024, 7:04 AM
Unknown Object (File)
Nov 23 2024, 4:36 PM
Unknown Object (File)
Nov 12 2024, 11:36 AM
Unknown Object (File)
Nov 9 2024, 11:41 AM
Unknown Object (File)
Nov 9 2024, 11:41 AM

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