aboutsummaryrefslogtreecommitdiff
path: root/src/components/comments
diff options
context:
space:
mode:
authorHusam Salhab <47015061+hsalhab@users.noreply.github.com>2020-12-29 19:40:27 -0500
committerGitHub <noreply@github.com>2020-12-29 19:40:27 -0500
commit657185c9f3f06f4e38f161ba7bd1fd35512f81f2 (patch)
tree3bd3090ddddc4dfdcafb56dca0a7159e8586f875 /src/components/comments
parent05cd91206a6ce3361097d9eb408a447eae3d120e (diff)
[TMA-289] Fix Moments Comments (#155)
* move async-storage * removed lock files * added lock files to gitignore * added the wrong file to gitignore * minor fixes * fix serializer json changes * remove redundant type
Diffstat (limited to 'src/components/comments')
-rw-r--r--src/components/comments/CommentTile.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/comments/CommentTile.tsx b/src/components/comments/CommentTile.tsx
index da78a4dc..f286ba52 100644
--- a/src/components/comments/CommentTile.tsx
+++ b/src/components/comments/CommentTile.tsx
@@ -24,10 +24,10 @@ const CommentTile: React.FC<CommentTileProps> = ({
<View style={styles.container}>
<ProfilePreview
profilePreview={{
- id: comment_object.commenter__id,
- username: comment_object.commenter__username,
- first_name: '',
- last_name: '',
+ id: comment_object.commenter.id,
+ username: comment_object.commenter.username,
+ first_name: comment_object.commenter.first_name,
+ last_name: comment_object.commenter.last_name,
}}
previewType={'Comment'}
screenType={screenType}