aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-03-30 14:12:31 -0400
committerIvan Chen <ivan@tagg.id>2021-03-30 14:12:31 -0400
commit196779e9f404916f2a2ddad53728410761f488ac (patch)
treecd97539edb9163dd55bdf198e614fe5a7e79249f /src
parenta168fc7635c4d40365d095a476348e09ebbb1db9 (diff)
remove check for SP to settings
Diffstat (limited to 'src')
-rw-r--r--src/components/profile/ProfileMoreInfoDrawer.tsx10
1 files changed, 3 insertions, 7 deletions
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<ProfileMoreInfoDrawerProps> = (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 = () => {