aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/comments/AddComment.tsx2
-rw-r--r--src/components/moments/MomentCommentPreview.tsx2
-rw-r--r--src/screens/profile/MomentCommentsScreen.tsx5
3 files changed, 4 insertions, 5 deletions
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<AddCommentProps> = ({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;
}
diff --git a/src/screens/profile/MomentCommentsScreen.tsx b/src/screens/profile/MomentCommentsScreen.tsx
index 7dfe8ae9..402e5f44 100644
--- a/src/screens/profile/MomentCommentsScreen.tsx
+++ b/src/screens/profile/MomentCommentsScreen.tsx
@@ -48,9 +48,8 @@ const MomentCommentsScreen: React.FC<MomentCommentsScreenProps> = ({route}) => {
React.useState(true);
//Keeps track of the current comments object in focus so that the application knows which comment to post a reply to
- const [commentTapped, setCommentTapped] = useState<
- CommentType | CommentThreadType | undefined
- >();
+ const [commentTapped, setCommentTapped] =
+ useState<CommentType | CommentThreadType | undefined>();
useEffect(() => {
navigation.setOptions({