aboutsummaryrefslogtreecommitdiff
path: root/src/components/profile/PublicProfile.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/profile/PublicProfile.tsx')
-rw-r--r--src/components/profile/PublicProfile.tsx7
1 files changed, 1 insertions, 6 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