diff options
author | Ivan Chen <ivan@tagg.id> | 2021-01-27 18:43:57 -0500 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-01-27 18:43:57 -0500 |
commit | 614fbcd8b0180b328019e6952ee1fc0de4643eaa (patch) | |
tree | b4d0f7c4fcd3e3b257249e5e5e6ab39ad64788c4 | |
parent | 00ddb6fdec43635261ffa950731d9dd1ce70a815 (diff) |
fixed thumbnail for comments
-rw-r--r-- | src/components/comments/CommentTile.tsx | 5 |
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} |