From 830297c6f7ce554946246540a7239ab5b3ed712a Mon Sep 17 00:00:00 2001 From: Ashm Walia Date: Fri, 29 Jan 2021 12:09:54 -0800 Subject: Fix --- src/components/comments/CommentTile.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/components/comments/CommentTile.tsx b/src/components/comments/CommentTile.tsx index 347954b5..a1ee582b 100644 --- a/src/components/comments/CommentTile.tsx +++ b/src/components/comments/CommentTile.tsx @@ -18,6 +18,7 @@ import CommentsContainer from './CommentsContainer'; import Swipeable from 'react-native-gesture-handler/Swipeable'; import {deleteComment} from '../../services'; import {ERROR_FAILED_TO_DELETE_COMMENT} from '../../constants/strings'; +import {min} from 'moment'; /** * Displays users's profile picture, comment posted by them and the time difference between now and when a comment was posted. @@ -161,7 +162,13 @@ const CommentTile: React.FC = ({ {/*** Show replies if toggle state is true */} {showReplies && comment_object.replies_count > 0 && ( - +