diff options
Diffstat (limited to 'src/components/profile/ProfileHeader.tsx')
-rw-r--r-- | src/components/profile/ProfileHeader.tsx | 5 |
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}> |