From 657185c9f3f06f4e38f161ba7bd1fd35512f81f2 Mon Sep 17 00:00:00 2001
From: Husam Salhab <47015061+hsalhab@users.noreply.github.com>
Date: Tue, 29 Dec 2020 19:40:27 -0500
Subject: [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
---
 src/components/comments/CommentTile.tsx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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

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}
-- 
cgit v1.2.3-70-g09d2

