aboutsummaryrefslogtreecommitdiff
path: root/src/components/profile/ProfileHeader.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-05-19 17:37:03 -0400
committerIvan Chen <ivan@tagg.id>2021-05-19 17:37:03 -0400
commit2531a2b672bb60e871d419453ae8558f0869bce3 (patch)
treeb23f79f6378384cffff9e032d12066014e9dafff /src/components/profile/ProfileHeader.tsx
parent1a4113ee3e47be229e28fc5a935ada174781b00b (diff)
parentcddcfef3c32e08aedef1e4908bd477e45bef1974 (diff)
Merge branch 'master' into tma858-remind-users
# Conflicts: # src/components/friends/InviteFriendTile.tsx
Diffstat (limited to 'src/components/profile/ProfileHeader.tsx')
-rw-r--r--src/components/profile/ProfileHeader.tsx5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/components/profile/ProfileHeader.tsx b/src/components/profile/ProfileHeader.tsx
index 14f7dc71..2241899d 100644
--- a/src/components/profile/ProfileHeader.tsx
+++ b/src/components/profile/ProfileHeader.tsx
@@ -85,10 +85,6 @@ const ProfileHeader: React.FC<ProfileHeaderProps> = ({
}
};
- useEffect(() => {
- setDrawerVisible(drawerVisible);
- }, [drawerVisible]);
-
return (
<View ref={containerRef} style={styles.container}>
<ProfileMoreInfoDrawer
@@ -115,6 +111,7 @@ const ProfileHeader: React.FC<ProfileHeaderProps> = ({
style={styles.avatar}
userXId={userXId}
screenType={screenType}
+ editable={true}
/>
<View style={styles.header}>
<Text style={styles.name} numberOfLines={2}>