aboutsummaryrefslogtreecommitdiff
path: root/src/components/taggs/TaggPost.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/taggs/TaggPost.tsx')
-rw-r--r--src/components/taggs/TaggPost.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/taggs/TaggPost.tsx b/src/components/taggs/TaggPost.tsx
index f587506f..a7f851a5 100644
--- a/src/components/taggs/TaggPost.tsx
+++ b/src/components/taggs/TaggPost.tsx
@@ -8,8 +8,9 @@ import Hyperlink from 'react-native-hyperlink';
interface TaggPostProps {
post: SimplePostType;
+ social: string;
}
-const TaggPost: React.FC<TaggPostProps> = ({post}) => {
+const TaggPost: React.FC<TaggPostProps> = ({post, social}) => {
if (post.media_type === 'photo') {
// Post with image and footer that shows caption
return (
@@ -32,6 +33,7 @@ const TaggPost: React.FC<TaggPostProps> = ({post}) => {
handle={post.username}
caption={post.caption || ''}
timestamp={post.timestamp}
+ social={social}
/>
</View>
);