From 41a9ecf350ccc1567e7cbf9c0a3413565d2397f7 Mon Sep 17 00:00:00 2001 From: Brian Kim Date: Wed, 16 Jun 2021 23:11:49 +0900 Subject: Fix issue with background messing up appearance of AddComment elsewhere --- src/components/comments/AddComment.tsx | 2 +- src/components/moments/MomentCommentPreview.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components') diff --git a/src/components/comments/AddComment.tsx b/src/components/comments/AddComment.tsx index 01325475..4a1822a3 100644 --- a/src/components/comments/AddComment.tsx +++ b/src/components/comments/AddComment.tsx @@ -130,7 +130,7 @@ const AddComment: React.FC = ({momentId, placeholderText}) => { const styles = StyleSheet.create({ container: { - backgroundColor: '#f7f7f7', + // backgroundColor: '#f7f7f7', alignItems: 'center', justifyContent: 'center', width: SCREEN_WIDTH, diff --git a/src/components/moments/MomentCommentPreview.tsx b/src/components/moments/MomentCommentPreview.tsx index f6b9d75b..d4729888 100644 --- a/src/components/moments/MomentCommentPreview.tsx +++ b/src/components/moments/MomentCommentPreview.tsx @@ -9,7 +9,7 @@ import {mentionPartTypes, renderTextWithMentions} from '../../utils/comments'; interface MomentCommentPreviewProps { momentId: string; - commentsCount: number | null; + commentsCount: number; commentPreview: MomentCommentPreviewType | null; screenType: ScreenType; } -- cgit v1.2.3-70-g09d2