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, Oct 2, 11:03 AM
Unknown Object (File)
Wed, Oct 2, 11:00 AM
Unknown Object (File)
Wed, Oct 2, 6:02 AM
Unknown Object (File)
Wed, Sep 18, 3:57 PM
Unknown Object (File)
Aug 29 2024, 1:38 AM
Unknown Object (File)
Aug 29 2024, 1:33 AM
Unknown Object (File)
Aug 28 2024, 11:32 PM
Unknown Object (File)
Aug 28 2024, 1:16 AM
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