aboutsummaryrefslogtreecommitdiff
path: root/src/screens/onboarding/legacy
diff options
context:
space:
mode:
Diffstat (limited to 'src/screens/onboarding/legacy')
-rw-r--r--src/screens/onboarding/legacy/ProfileOnboarding.tsx2
-rw-r--r--src/screens/onboarding/legacy/SocialMedia.tsx7
-rw-r--r--src/screens/onboarding/legacy/WaitlistSuccessScreen.tsx2
3 files changed, 3 insertions, 8 deletions
diff --git a/src/screens/onboarding/legacy/ProfileOnboarding.tsx b/src/screens/onboarding/legacy/ProfileOnboarding.tsx
index bf0863dc..e994c1e6 100644
--- a/src/screens/onboarding/legacy/ProfileOnboarding.tsx
+++ b/src/screens/onboarding/legacy/ProfileOnboarding.tsx
@@ -242,7 +242,7 @@ const ProfileOnboarding: React.FC<ProfileOnboardingProps> = ({
};
const handleClassYearUpdate = (value: string) => {
- const classYear = Number.parseInt(value);
+ const classYear = parseInt(value, 10);
setForm({
...form,
classYear,
diff --git a/src/screens/onboarding/legacy/SocialMedia.tsx b/src/screens/onboarding/legacy/SocialMedia.tsx
index db24830a..1f98401b 100644
--- a/src/screens/onboarding/legacy/SocialMedia.tsx
+++ b/src/screens/onboarding/legacy/SocialMedia.tsx
@@ -17,11 +17,7 @@ import {
} from '../../../components';
import {SOCIAL_LIST} from '../../../constants';
import {OnboardingStackParams} from '../../../routes';
-import {
- BackgroundGradientType,
- CategorySelectionScreenType,
- LinkerType,
-} from '../../../types';
+import {BackgroundGradientType, LinkerType} from '../../../types';
/**
* Social Media Screen for displaying social media linkers
@@ -64,7 +60,6 @@ const SocialMedia: React.FC<SocialMediaProps> = ({route, navigation}) => {
const handleNext = () => {
navigation.navigate('CategorySelection', {
- screenType: CategorySelectionScreenType.Onboarding,
user: {userId: userId, username: username},
newCustomCategory: undefined,
});
diff --git a/src/screens/onboarding/legacy/WaitlistSuccessScreen.tsx b/src/screens/onboarding/legacy/WaitlistSuccessScreen.tsx
index 72bbec63..ad517814 100644
--- a/src/screens/onboarding/legacy/WaitlistSuccessScreen.tsx
+++ b/src/screens/onboarding/legacy/WaitlistSuccessScreen.tsx
@@ -1,5 +1,5 @@
import {StackNavigationProp} from '@react-navigation/stack';
-import * as React from 'react';
+import React from 'react';
import {
KeyboardAvoidingView,
Linking,