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 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/components') 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 -- cgit v1.2.3-70-g09d2