aboutsummaryrefslogtreecommitdiff
path: root/src/components/profile/PublicProfile.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-04-15 16:57:21 -0400
committerIvan Chen <ivan@tagg.id>2021-04-15 16:57:21 -0400
commitf9fdbaca591c0e87234b6a5d14f376fe52d26322 (patch)
tree85676405f394fea355f6dcf3b8af928e4c1dfa07 /src/components/profile/PublicProfile.tsx
parentfd72bd92b64a13bccd2cfbd944de078690b0d134 (diff)
cleaned up category route params
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