aboutsummaryrefslogtreecommitdiff
path: root/src/components/comments/CommentTile.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@thetaggid.com>2021-01-27 19:32:21 -0500
committerGitHub <noreply@github.com>2021-01-27 19:32:21 -0500
commit19d2a861f260c02031d951f3d43bff8ac672146d (patch)
tree253abceb267dfb75ac9118995886ff152c1ba74b /src/components/comments/CommentTile.tsx
parent60d3d97ad6913369762877a9dbfdaac0473deb28 (diff)
parentdc9556867dd44b706c43678d40802a335ff40658 (diff)
Merge pull request #203 from IvanIFChen/tma577-profile-slowness
[TMA-577] Profile Slowness
Diffstat (limited to 'src/components/comments/CommentTile.tsx')
-rw-r--r--src/components/comments/CommentTile.tsx7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/components/comments/CommentTile.tsx b/src/components/comments/CommentTile.tsx
index c6dd9fc1..b631a985 100644
--- a/src/components/comments/CommentTile.tsx
+++ b/src/components/comments/CommentTile.tsx
@@ -123,12 +123,7 @@ const CommentTile: React.FC<CommentTileProps> = ({
<View
style={[styles.container, isThread ? styles.moreMarginWithThread : {}]}>
<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,
- }}
+ profilePreview={comment_object.commenter}
previewType={'Comment'}
screenType={screenType}
/>