Skip to content

Commit

Permalink
fix: removed #hashtag clicking as older notes dont have tags which mi…
Browse files Browse the repository at this point in the history
…ght need to blank page
  • Loading branch information
addegbenga committed Oct 18, 2024
1 parent ba8adb6 commit f7805e7
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
4 changes: 1 addition & 3 deletions apps/mobile/src/modules/PostCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ const ClickableHashtag = ({hashtag, onPress}: any) => {
const styles = useStyles(stylesheet);
return (
<Pressable>
<Text style={styles.hashtagColor} onPress={() => onPress(hashtag)}>
{hashtag}
</Text>
<Text style={styles.hashtagColor}>{hashtag}</Text>
</Pressable>
);
};
Expand Down
1 change: 0 additions & 1 deletion apps/mobile/src/modules/PostCard/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ export default ThemedStyleSheet((theme) => ({
},
hashtagColor: {
color: theme.colors.primary,
textDecorationLine: 'underline',
},
}));
4 changes: 1 addition & 3 deletions apps/mobile/src/modules/VideoPostCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ const ClickableHashtag = ({hashtag, onPress}: any) => {
const styles = useStyles(stylesheet);
return (
<Pressable>
<Text style={styles.hashtagColor} onPress={() => onPress(hashtag)}>
{hashtag}
</Text>
<Text style={styles.hashtagColor}>{hashtag}</Text>
</Pressable>
);
};
Expand Down
1 change: 0 additions & 1 deletion apps/mobile/src/modules/VideoPostCard/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export default ThemedStyleSheet((theme) => ({
},
hashtagColor: {
color: theme.colors.primary,
textDecorationLine: 'underline',
},

//Video Card
Expand Down

0 comments on commit f7805e7

Please sign in to comment.