aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-01-27 18:43:57 -0500
committerIvan Chen <ivan@tagg.id>2021-01-27 18:43:57 -0500
commit614fbcd8b0180b328019e6952ee1fc0de4643eaa (patch)
treeb4d0f7c4fcd3e3b257249e5e5e6ab39ad64788c4 /src
parent00ddb6fdec43635261ffa950731d9dd1ce70a815 (diff)
fixed thumbnail for comments
Diffstat (limited to 'src')
-rw-r--r--src/components/comments/CommentTile.tsx5
1 files changed, 1 insertions, 4 deletions
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}