From 196779e9f404916f2a2ddad53728410761f488ac Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Tue, 30 Mar 2021 14:12:31 -0400 Subject: remove check for SP to settings --- src/components/profile/ProfileMoreInfoDrawer.tsx | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/components/profile/ProfileMoreInfoDrawer.tsx b/src/components/profile/ProfileMoreInfoDrawer.tsx index f70f90d0..5c5edf6c 100644 --- a/src/components/profile/ProfileMoreInfoDrawer.tsx +++ b/src/components/profile/ProfileMoreInfoDrawer.tsx @@ -36,13 +36,9 @@ const ProfileMoreInfoDrawer: React.FC = (props) => { }; const goToSettingsPage = () => { - if (profile.suggested_people_linked === 0) { - Alert.alert(ERROR_ATTEMPT_EDIT_SP); - } else { - // Sending undefined for updatedSelectedBadges to mark that there was no update yet - navigation.navigate('SettingsScreen'); - setIsOpen(false); - } + // Sending undefined for updatedSelectedBadges to mark that there was no update yet + navigation.navigate('SettingsScreen'); + setIsOpen(false); }; const onBlockUnblock = () => { -- cgit v1.2.3-70-g09d2