HomePhabricator
Diffusion Comm 0d5f115c9322

[native] introduce useNavigateToUserProfileBottomSheet hook

Description

[native] introduce useNavigateToUserProfileBottomSheet hook

Summary:
This diff introduces the useNavigateToUserProfileBottomSheet hook which is going to be used to navigate to the user profile bottom sheet screen. This logic will need to be repeated in every place we want the user profiles to be accessible, so I thought that instead of copy+pasting the logic we should preemptively factor out this logic into this helper hook.

Depends on D9383

Test Plan:
Confirmed that I can navigate to the user profiles screen using this hook

Reviewers: atul, inka

Reviewed By: atul

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D9261

Details

Provenance
ginsuAuthored on Sep 21 2023, 11:56 AM
Reviewer
atul
Differential Revision
D9261: [native] introduce useNavigateToUserProfileBottomSheet hook
Parents
rCOMM55b9a6cb5077: [native] introduce avatar constants
Branches
Unknown
Tags
Unknown