diff options
| author | Shravya Ramesh <37447613+shravyaramesh@users.noreply.github.com> | 2021-03-30 12:30:15 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-30 12:30:15 -0700 |
| commit | 6b3ab4ccb9112e469f2333285c4e58a8c934cff3 (patch) | |
| tree | 84b4b9a6fa04cff39fb9e3bdf0ebe29910d08e0f /src/components/profile | |
| parent | 357ac758abf9a2a2364b265051743bbbc50893a6 (diff) | |
| parent | 6250ae2a6936bdb8e4b1cca538640fbb0d8c4c48 (diff) | |
Merge branch 'master' into tma718-move-invite-friends
Diffstat (limited to 'src/components/profile')
| -rw-r--r-- | src/components/profile/ProfileMoreInfoDrawer.tsx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/components/profile/ProfileMoreInfoDrawer.tsx b/src/components/profile/ProfileMoreInfoDrawer.tsx index f70f90d0..67e59747 100644 --- a/src/components/profile/ProfileMoreInfoDrawer.tsx +++ b/src/components/profile/ProfileMoreInfoDrawer.tsx @@ -36,13 +36,8 @@ 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); - } + navigation.navigate('SettingsScreen'); + setIsOpen(false); }; const onBlockUnblock = () => { |
