From 6fcd7b41cd763e95733187c6c4d48ddb6e9bd01a Mon Sep 17 00:00:00 2001
From: Brian Kim <brian@tagg.id>
Date: Thu, 17 Jun 2021 16:21:57 +0900
Subject: Made edits

---
 src/components/comments/CommentTextField.tsx | 23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

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

diff --git a/src/components/comments/CommentTextField.tsx b/src/components/comments/CommentTextField.tsx
index a3a14ec8..6e92329c 100644
--- a/src/components/comments/CommentTextField.tsx
+++ b/src/components/comments/CommentTextField.tsx
@@ -23,7 +23,7 @@ import {
   isMentionPartType,
 } from 'react-native-controlled-mentions/dist/utils';
 import {Avatar} from '../common';
-import {normalize} from 'react-native-elements';
+import {normalize} from '../../utils';
 
 import UpArrowIcon from '../../assets/icons/up_arrow.svg';
 
@@ -115,16 +115,15 @@ const CommentTextField: FC<CommentTextFieldProps> = ({
         )}
       </View>
 
-      {validateInput(keyboardText)
-        ? (
-            partTypes.filter(
-              (one) =>
-                isMentionPartType(one) &&
-                one.renderSuggestions != null &&
-                one.isBottomMentionSuggestionsRender,
-            ) as MentionPartType[]
-          ).map(renderMentionSuggestions)
-        : null}
+      {validateInput(keyboardText) &&
+        (
+          partTypes.filter(
+            (one) =>
+              isMentionPartType(one) &&
+              one.renderSuggestions != null &&
+              one.isBottomMentionSuggestionsRender,
+          ) as MentionPartType[]
+        ).map(renderMentionSuggestions)}
     </View>
   );
 };
@@ -143,7 +142,7 @@ const styles = StyleSheet.create({
     alignSelf: 'center',
     alignItems: 'center',
     justifyContent: 'center',
-    height: normalize(40),
+    height: normalize(45),
   },
   greyButton: {
     backgroundColor: 'grey',
-- 
cgit v1.2.3-70-g09d2

