From f9fdbaca591c0e87234b6a5d14f376fe52d26322 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Thu, 15 Apr 2021 16:57:21 -0400 Subject: cleaned up category route params --- src/components/profile/PublicProfile.tsx | 7 +------ src/types/types.ts | 8 -------- 2 files changed, 1 insertion(+), 14 deletions(-) (limited to 'src') diff --git a/src/components/profile/PublicProfile.tsx b/src/components/profile/PublicProfile.tsx index 1c49bff5..f2d52a3d 100644 --- a/src/components/profile/PublicProfile.tsx +++ b/src/components/profile/PublicProfile.tsx @@ -241,12 +241,7 @@ const PublicProfile: React.FC = ({ )} {!userXId && ( - navigation.navigate('CategorySelection', { - screenType: CategorySelectionScreenType.Profile, - user: loggedInUser, - }) - } + onPress={() => navigation.navigate('CategorySelection')} style={styles.createCategoryButton}> Create a new category diff --git a/src/types/types.ts b/src/types/types.ts index 376c4be0..72fd7d04 100644 --- a/src/types/types.ts +++ b/src/types/types.ts @@ -172,14 +172,6 @@ export enum VerificationScreenType { Password, } -/** - * Two types for category selection screen - */ -export enum CategorySelectionScreenType { - Onboarding, - Profile, -} - /** * Gradient type to accomodate new g background gradients for Tagg */ -- cgit v1.2.3-70-g09d2