diff options
author | Ivan Chen <ivan@tagg.id> | 2021-02-10 18:23:06 -0500 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-02-10 18:23:06 -0500 |
commit | 870eb11b1c5f36cf6b92e1bc2d65eef996053cf9 (patch) | |
tree | c420d66c6b01912100294f5b5e6f48009f6e35fe | |
parent | f28ef2d4ac61475d7bd9728634b80f7c0760ff58 (diff) |
linting
-rw-r--r-- | src/screens/onboarding/ProfileOnboarding.tsx | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/src/screens/onboarding/ProfileOnboarding.tsx b/src/screens/onboarding/ProfileOnboarding.tsx index 26ad93a7..8a6275a9 100644 --- a/src/screens/onboarding/ProfileOnboarding.tsx +++ b/src/screens/onboarding/ProfileOnboarding.tsx @@ -1,38 +1,34 @@ -import React from 'react'; +import AsyncStorage from '@react-native-community/async-storage'; import {RouteProp} from '@react-navigation/native'; -import moment from 'moment'; import {StackNavigationProp} from '@react-navigation/stack'; +import moment from 'moment'; +import React from 'react'; import { - Text, + Alert, + Image, StatusBar, StyleSheet, - Image, + Text, TouchableOpacity, - Alert, View, } from 'react-native'; +import ImagePicker from 'react-native-image-crop-picker'; +import Animated from 'react-native-reanimated'; import { Background, + BirthDatePicker, TaggBigInput, - TaggInput, TaggDropDown, - BirthDatePicker, + TaggInput, } from '../../components'; -import {OnboardingStackParams} from '../../routes/onboarding'; -import ImagePicker from 'react-native-image-crop-picker'; import { - EDIT_PROFILE_ENDPOINT, - websiteRegex, bioRegex, - genderRegex, CLASS_YEAR_LIST, + EDIT_PROFILE_ENDPOINT, + genderRegex, TAGG_PURPLE, + websiteRegex, } from '../../constants'; -import AsyncStorage from '@react-native-community/async-storage'; -import {BackgroundGradientType} from '../../types'; -import {PickerSelectProps} from 'react-native-picker-select'; -import Animated from 'react-native-reanimated'; -import {SCREEN_WIDTH} from '../../utils'; import { ERROR_DOUBLE_CHECK_CONNECTION, ERROR_PROFILE_CREATION_SHORT, @@ -41,6 +37,9 @@ import { ERROR_UPLOAD_LARGE_PROFILE_PIC, ERROR_UPLOAD_SMALL_PROFILE_PIC, } from '../../constants/strings'; +import {OnboardingStackParams} from '../../routes/onboarding'; +import {BackgroundGradientType} from '../../types'; +import {SCREEN_WIDTH} from '../../utils'; type ProfileOnboardingScreenRouteProp = RouteProp< OnboardingStackParams, |