aboutsummaryrefslogtreecommitdiff
path: root/src/components/profile/ProfileHeader.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-05-05 14:50:25 -0400
committerGitHub <noreply@github.com>2021-05-05 14:50:25 -0400
commit8c1fb85de4e54bc8cb95587962088e8b15a60f94 (patch)
treea78f1556e03e801f64fc8d7f13052c8ee8750dc0 /src/components/profile/ProfileHeader.tsx
parent0ae6415c3f8fec65bfb6996b773be6fe67a02d58 (diff)
parent29dd728d82689274bfbf877e8c21630d33bd69cb (diff)
Merge pull request #399 from ankit-thanekar007/tma-815-ellipsis-issue
[TMA-815] Ellipsis not responding
Diffstat (limited to 'src/components/profile/ProfileHeader.tsx')
-rw-r--r--src/components/profile/ProfileHeader.tsx5
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={{