about summary refs log tree commit diff
path: root/src/view/com/posts/FeedItem.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-12-08 13:45:23 -0600
committerPaul Frazee <pfrazee@gmail.com>2022-12-08 13:45:23 -0600
commit539bf5d35069a654fb31b1ff636358fe28793c06 (patch)
tree89672e39e506ff3898aa1e4b9a306b6b31d89b47 /src/view/com/posts/FeedItem.tsx
parent273e6d29734153e86a4b42b7e81d05fe5627f649 (diff)
downloadvoidsky-539bf5d35069a654fb31b1ff636358fe28793c06.tar.zst
Add avatar images and fix some type signatures
Diffstat (limited to 'src/view/com/posts/FeedItem.tsx')
-rw-r--r--src/view/com/posts/FeedItem.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/view/com/posts/FeedItem.tsx b/src/view/com/posts/FeedItem.tsx
index 0e3a58090..62f199673 100644
--- a/src/view/com/posts/FeedItem.tsx
+++ b/src/view/com/posts/FeedItem.tsx
@@ -54,6 +54,7 @@ export const FeedItem = observer(function FeedItem({
         author: {
           handle: item.author.handle,
           displayName: item.author.displayName,
+          avatar: item.author.avatar,
         },
       },
     })
@@ -139,6 +140,7 @@ export const FeedItem = observer(function FeedItem({
               displayName={
                 item.additionalParentPost?.thread?.author.displayName
               }
+              avatar={item.additionalParentPost?.thread?.author.avatar}
               size={32}
             />
           </View>
@@ -159,6 +161,7 @@ export const FeedItem = observer(function FeedItem({
               size={item._isThreadChild ? 30 : 50}
               displayName={item.author.displayName}
               handle={item.author.handle}
+              avatar={item.author.avatar}
             />
           </Link>
         </View>