diff options
| author | Ashm Walia <40498934+ashmgarv@users.noreply.github.com> | 2020-10-27 17:36:03 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-27 20:36:03 -0400 |
| commit | 62d6fe2bca4bdd1a48cfe54e4c0c3fe590c3b750 (patch) | |
| tree | 3afb2c723a10a2649c298e226bc31e10cec92d5a /src/screens/onboarding/RegistrationOne.tsx | |
| parent | 795ba089207571ec13226f2d07c149c8697763ce (diff) | |
[HOT FIX] Refactor to make things clean and make the app work (#82)
* Refactored
* Final refactor with an issue
* It works
* Whoops
Diffstat (limited to 'src/screens/onboarding/RegistrationOne.tsx')
| -rw-r--r-- | src/screens/onboarding/RegistrationOne.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screens/onboarding/RegistrationOne.tsx b/src/screens/onboarding/RegistrationOne.tsx index e0db0755..a901d477 100644 --- a/src/screens/onboarding/RegistrationOne.tsx +++ b/src/screens/onboarding/RegistrationOne.tsx @@ -145,7 +145,7 @@ const RegistrationOne: React.FC<RegistrationOneProps> = ({navigation}) => { <Text style={styles.formHeader}>ENTER PHONE NUMBER</Text> </View> <TaggInput - maxLength = {12} // currently only support US phone numbers + maxLength={12} // currently only support US phone numbers accessibilityHint="Enter your phone number." accessibilityLabel="Phone number input field." placeholder="Phone Number" @@ -154,7 +154,7 @@ const RegistrationOne: React.FC<RegistrationOneProps> = ({navigation}) => { autoCapitalize="none" returnKeyType="next" keyboardType="phone-pad" - onChangeText={handlePhoneUpdate} + onChangeText={handlePhoneUpdate} blurOnSubmit={false} ref={phoneRef} valid={form.isValidPhone} @@ -210,4 +210,4 @@ const styles = StyleSheet.create({ }, }); -export default RegistrationOne;
\ No newline at end of file +export default RegistrationOne; |
