diff options
-rw-r--r-- | src/components/profile/PublicProfile.tsx | 7 | ||||
-rw-r--r-- | src/types/types.ts | 8 |
2 files changed, 1 insertions, 14 deletions
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<ContentProps> = ({ )} {!userXId && ( <TouchableOpacity - onPress={() => - navigation.navigate('CategorySelection', { - screenType: CategorySelectionScreenType.Profile, - user: loggedInUser, - }) - } + onPress={() => navigation.navigate('CategorySelection')} style={styles.createCategoryButton}> <Text style={styles.createCategoryButtonLabel}> 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 @@ -173,14 +173,6 @@ export enum VerificationScreenType { } /** - * Two types for category selection screen - */ -export enum CategorySelectionScreenType { - Onboarding, - Profile, -} - -/** * Gradient type to accomodate new g background gradients for Tagg */ export enum BackgroundGradientType { |