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.tsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/components/profile/PublicProfile.tsx b/src/components/profile/PublicProfile.tsx
index f2d52a3d..d2ee8626 100644
--- a/src/components/profile/PublicProfile.tsx
+++ b/src/components/profile/PublicProfile.tsx
@@ -241,7 +241,11 @@ const PublicProfile: React.FC<ContentProps> = ({
)}
{!userXId && (
<TouchableOpacity
- onPress={() => navigation.navigate('CategorySelection')}
+ onPress={() =>
+ navigation.navigate('CategorySelection', {
+ newCustomCategory: undefined,
+ })
+ }
style={styles.createCategoryButton}>
<Text style={styles.createCategoryButtonLabel}>
Create a new category
@@ -253,10 +257,6 @@ const PublicProfile: React.FC<ContentProps> = ({
};
const styles = StyleSheet.create({
- container: {
- flex: 1,
- backgroundColor: '#fff',
- },
momentsContainer: {
backgroundColor: '#f2f2f2',
paddingBottom: SCREEN_HEIGHT * 0.15,