Page MenuHomePhabricator

[web] update usePushUserProfileModal hook args
AbandonedPublic

Authored by ginsu on Oct 16 2023, 10:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jul 3, 9:25 AM
Unknown Object (File)
Sat, Jun 29, 4:07 AM
Unknown Object (File)
Sat, Jun 29, 4:04 AM
Unknown Object (File)
Sat, Jun 29, 1:47 AM
Unknown Object (File)
Thu, Jun 13, 8:30 PM
Unknown Object (File)
Jun 6 2024, 8:19 AM
Unknown Object (File)
Jun 6 2024, 8:19 AM
Unknown Object (File)
May 28 2024, 10:47 PM
Subscribers

Details

Reviewers
atul
inka
Summary

This diff addresses a concern in D9481 where the usePushUserProfileModal arguments could have been improved by making them read-only as a Props object

Test Plan

flow + confirmed everything still worked

Diff Detail

Repository
rCOMM Comm
Branch
eng-3998 (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Actually, I have no idea why I gave that feedback in D9476... it's a hook not a functional component so having userID: string as an argument makes more sense than a Props object.

Sorry about the confusion, feel free to abandon

This revision is now accepted and ready to land.Oct 17 2023, 9:23 AM