From 76a6ab8c12669865c99e961d93b97613c63da3a5 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Thu, 25 Mar 2021 14:44:04 -0400 Subject: fixed warning --- src/screens/profile/EditProfile.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/screens/profile/EditProfile.tsx b/src/screens/profile/EditProfile.tsx index fc428ee3..8afaeb6d 100644 --- a/src/screens/profile/EditProfile.tsx +++ b/src/screens/profile/EditProfile.tsx @@ -373,7 +373,7 @@ const EditProfile: React.FC = ({route, navigation}) => { .catch((error) => { Alert.alert(error); }); - }, [isCustomGender, form, navigation, userId]); + }, [form, isCustomGender, university_class, userId, navigation]); React.useLayoutEffect(() => { navigation.setOptions({ -- cgit v1.2.3-70-g09d2