From a8963146c72be5b048d061df2dbcc322cb674877 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Fri, 14 May 2021 15:25:44 -0400 Subject: removed hacky fix, added state check --- src/components/profile/ProfileHeader.tsx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/components/profile/ProfileHeader.tsx') 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 = ({ } }; - useEffect(() => { - setDrawerVisible(drawerVisible); - }, [drawerVisible]); - return (