aboutsummaryrefslogtreecommitdiff
path: root/src/screens/onboarding/RegistrationTwo.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@thetaggid.com>2021-01-15 19:27:03 -0500
committerGitHub <noreply@github.com>2021-01-15 19:27:03 -0500
commit1803da7388902db45ad37fbac509604ae632bdb5 (patch)
treea786919f9bc42f7797367d55ed8f1e099134f368 /src/screens/onboarding/RegistrationTwo.tsx
parent4d9efafeb4243e20e1fc936c27b9055c7ec82f8a (diff)
parentcc52dabaaf529763e9c1c4683ba94ed55c5671a8 (diff)
Merge pull request #176 from IvanIFChen/tma498-update-error-strings
[TMA-498] Update Error Strings
Diffstat (limited to 'src/screens/onboarding/RegistrationTwo.tsx')
-rw-r--r--src/screens/onboarding/RegistrationTwo.tsx6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/screens/onboarding/RegistrationTwo.tsx b/src/screens/onboarding/RegistrationTwo.tsx
index 2f67d8c8..707e621a 100644
--- a/src/screens/onboarding/RegistrationTwo.tsx
+++ b/src/screens/onboarding/RegistrationTwo.tsx
@@ -23,6 +23,7 @@ import {
import {nameRegex, emailRegex} from '../../constants';
import {BackgroundGradientType} from '../../types';
+import {ERROR_NEXT_PAGE} from '../../constants/strings';
type RegistrationScreenTwoRouteProp = RouteProp<
OnboardingStackParams,
@@ -143,10 +144,7 @@ const RegistrationTwo: React.FC<RegistrationTwoProps> = ({
setTimeout(() => setForm({...form, attemptedSubmit: true}));
}
} catch (error) {
- Alert.alert(
- 'There was a problem while loading the next page 😓',
- "Try again in a couple minutes. We're sorry for the inconvenience.",
- );
+ Alert.alert(ERROR_NEXT_PAGE);
return {
name: 'Navigation error',
description: error,