aboutsummaryrefslogtreecommitdiff
path: root/src/components/profile
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-04-21 13:57:09 -0400
committerGitHub <noreply@github.com>2021-04-21 13:57:09 -0400
commit4e8e1c0d58424e6b63cfb8470fc0a73c0e6b102b (patch)
tree5b2dcc2daffc5b6f4fa2ae2b55c5548a12b6210c /src/components/profile
parentb556f97a7eae3f9d9fce2d9c5c25f419ba77fa14 (diff)
parentf902c4938344dd25d82d7d01035476f488db2b24 (diff)
Merge pull request #370 from IvanIFChen/tma795-move-create-button
[TMA-795/796] Move create button
Diffstat (limited to 'src/components/profile')
-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..d2ee8626 100644
--- a/src/components/profile/PublicProfile.tsx
+++ b/src/components/profile/PublicProfile.tsx
@@ -243,8 +243,7 @@ const PublicProfile: React.FC<ContentProps> = ({
<TouchableOpacity
onPress={() =>
navigation.navigate('CategorySelection', {
- screenType: CategorySelectionScreenType.Profile,
- user: loggedInUser,
+ newCustomCategory: undefined,
})
}
style={styles.createCategoryButton}>
@@ -258,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,