diff options
author | Ivan Chen <ivan@tagg.id> | 2021-05-14 15:25:44 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-05-14 15:25:44 -0400 |
commit | a8963146c72be5b048d061df2dbcc322cb674877 (patch) | |
tree | afec7acfeae8b7e70533813f6b7b9140477a9746 /src/components/profile/ProfileHeader.tsx | |
parent | 183ce2b263e7282f42d204ebd59676b8e28352ec (diff) |
removed hacky fix, added state check
Diffstat (limited to 'src/components/profile/ProfileHeader.tsx')
-rw-r--r-- | src/components/profile/ProfileHeader.tsx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/components/profile/ProfileHeader.tsx b/src/components/profile/ProfileHeader.tsx index 14f7dc71..db5308b9 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 |