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)
Sat, Dec 14, 5:55 PM
Unknown Object (File)
Sat, Dec 14, 5:54 PM
Unknown Object (File)
Sat, Dec 14, 5:48 PM
Unknown Object (File)
Dec 5 2024, 12:50 AM
Unknown Object (File)
Nov 20 2024, 9:00 AM
Unknown Object (File)
Nov 1 2024, 6:10 AM
Unknown Object (File)
Oct 6 2024, 12:21 AM
Unknown Object (File)
Oct 5 2024, 10:53 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