diff options
author | Ivan Chen <ivan@tagg.id> | 2021-05-05 14:50:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-05 14:50:25 -0400 |
commit | 8c1fb85de4e54bc8cb95587962088e8b15a60f94 (patch) | |
tree | a78f1556e03e801f64fc8d7f13052c8ee8750dc0 | |
parent | 0ae6415c3f8fec65bfb6996b773be6fe67a02d58 (diff) | |
parent | 29dd728d82689274bfbf877e8c21630d33bd69cb (diff) |
Merge pull request #399 from ankit-thanekar007/tma-815-ellipsis-issue
[TMA-815] Ellipsis not responding
-rw-r--r-- | src/components/profile/ProfileHeader.tsx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/profile/ProfileHeader.tsx b/src/components/profile/ProfileHeader.tsx index 3102937b..14f7dc71 100644 --- a/src/components/profile/ProfileHeader.tsx +++ b/src/components/profile/ProfileHeader.tsx @@ -85,6 +85,10 @@ const ProfileHeader: React.FC<ProfileHeaderProps> = ({ } }; + useEffect(() => { + setDrawerVisible(drawerVisible); + }, [drawerVisible]); + return ( <View ref={containerRef} style={styles.container}> <ProfileMoreInfoDrawer @@ -95,6 +99,7 @@ const ProfileHeader: React.FC<ProfileHeaderProps> = ({ userXName={userXName} setIsOpen={setDrawerVisible} /> + {userId === loggedInUserId && measure && ( <BadgeTutorial uniIconProps={{ |