From 614fbcd8b0180b328019e6952ee1fc0de4643eaa Mon Sep 17 00:00:00 2001
From: Ivan Chen <ivan@tagg.id>
Date: Wed, 27 Jan 2021 18:43:57 -0500
Subject: fixed thumbnail for comments

---
 src/components/comments/CommentTile.tsx | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

(limited to 'src/components/comments/CommentTile.tsx')

diff --git a/src/components/comments/CommentTile.tsx b/src/components/comments/CommentTile.tsx
index 39605f2c..1247e89a 100644
--- a/src/components/comments/CommentTile.tsx
+++ b/src/components/comments/CommentTile.tsx
@@ -67,10 +67,7 @@ const CommentTile: React.FC<CommentTileProps> = ({
         ]}>
         <ProfilePreview
           profilePreview={{
-            id: comment_object.commenter.id,
-            username: comment_object.commenter.username,
-            first_name: comment_object.commenter.first_name,
-            last_name: comment_object.commenter.last_name,
+            ...comment_object.commenter,
           }}
           previewType={'Comment'}
           screenType={screenType}
-- 
cgit v1.2.3-70-g09d2

