From f7805e788e6ea0200681413ad95e38f6578b70b9 Mon Sep 17 00:00:00 2001 From: donahapp Date: Fri, 18 Oct 2024 09:00:43 +0100 Subject: [PATCH] fix: removed #hashtag clicking as older notes dont have tags which might need to blank page --- apps/mobile/src/modules/PostCard/index.tsx | 4 +--- apps/mobile/src/modules/PostCard/styles.ts | 1 - apps/mobile/src/modules/VideoPostCard/index.tsx | 4 +--- apps/mobile/src/modules/VideoPostCard/styles.ts | 1 - 4 files changed, 2 insertions(+), 8 deletions(-) diff --git a/apps/mobile/src/modules/PostCard/index.tsx b/apps/mobile/src/modules/PostCard/index.tsx index 4644265a..13687b39 100644 --- a/apps/mobile/src/modules/PostCard/index.tsx +++ b/apps/mobile/src/modules/PostCard/index.tsx @@ -43,9 +43,7 @@ const ClickableHashtag = ({hashtag, onPress}: any) => { const styles = useStyles(stylesheet); return ( - onPress(hashtag)}> - {hashtag} - + {hashtag} ); }; diff --git a/apps/mobile/src/modules/PostCard/styles.ts b/apps/mobile/src/modules/PostCard/styles.ts index 9d3cad42..4b643aca 100644 --- a/apps/mobile/src/modules/PostCard/styles.ts +++ b/apps/mobile/src/modules/PostCard/styles.ts @@ -10,6 +10,5 @@ export default ThemedStyleSheet((theme) => ({ }, hashtagColor: { color: theme.colors.primary, - textDecorationLine: 'underline', }, })); diff --git a/apps/mobile/src/modules/VideoPostCard/index.tsx b/apps/mobile/src/modules/VideoPostCard/index.tsx index 1b14b894..832166dc 100644 --- a/apps/mobile/src/modules/VideoPostCard/index.tsx +++ b/apps/mobile/src/modules/VideoPostCard/index.tsx @@ -43,9 +43,7 @@ const ClickableHashtag = ({hashtag, onPress}: any) => { const styles = useStyles(stylesheet); return ( - onPress(hashtag)}> - {hashtag} - + {hashtag} ); }; diff --git a/apps/mobile/src/modules/VideoPostCard/styles.ts b/apps/mobile/src/modules/VideoPostCard/styles.ts index e3cad959..e6188238 100644 --- a/apps/mobile/src/modules/VideoPostCard/styles.ts +++ b/apps/mobile/src/modules/VideoPostCard/styles.ts @@ -10,7 +10,6 @@ export default ThemedStyleSheet((theme) => ({ }, hashtagColor: { color: theme.colors.primary, - textDecorationLine: 'underline', }, //Video Card