From 05bcb134a026ee98919438044a63a656f60e74f2 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Tue, 4 May 2021 21:06:48 -0400 Subject: fixed layout issue --- src/utils/comments.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/utils/comments.tsx b/src/utils/comments.tsx index 47d26bb5..a71e3857 100644 --- a/src/utils/comments.tsx +++ b/src/utils/comments.tsx @@ -6,7 +6,6 @@ import { Part, PartType, } from 'react-native-controlled-mentions'; -import {TouchableOpacity} from 'react-native-gesture-handler'; import TaggTypeahead from '../components/common/TaggTypeahead'; import {TAGG_LIGHT_BLUE} from '../constants'; import {UserType} from '../types'; @@ -29,8 +28,9 @@ const renderPart = ( // Mention type part if (isMentionPartType(part.partType)) { return ( - { if (part.data) { handlePress({ @@ -39,8 +39,8 @@ const renderPart = ( }); } }}> - {part.text} - + {part.text} + ); } -- cgit v1.2.3-70-g09d2