diff options
author | Brian Kim <brian@tagg.id> | 2021-06-15 12:21:53 +0900 |
---|---|---|
committer | Brian Kim <brian@tagg.id> | 2021-06-15 12:21:53 +0900 |
commit | 6ee452c257d388913a1effd817c37bef638bc179 (patch) | |
tree | fbba8144adf7b3177c0014b687440a5450019818 /src/components/comments/AddComment.tsx | |
parent | bc2c093e9342ed8deb98652d1c278417dd6435f3 (diff) |
Fix bug in caption screen of suggestions not disappearing
Diffstat (limited to 'src/components/comments/AddComment.tsx')
-rw-r--r-- | src/components/comments/AddComment.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/comments/AddComment.tsx b/src/components/comments/AddComment.tsx index db85d525..3c0e9a0a 100644 --- a/src/components/comments/AddComment.tsx +++ b/src/components/comments/AddComment.tsx @@ -18,8 +18,8 @@ import {RootState} from '../../store/rootreducer'; import {CommentThreadType, CommentType} from '../../types'; import {SCREEN_HEIGHT, SCREEN_WIDTH} from '../../utils'; import {mentionPartTypes} from '../../utils/comments'; -import {Avatar} from '../common'; -import {MentionInputControlled} from './MentionInputControlled'; +import {CommentTextField} from './CommentTextField'; +import MentionInputControlled from './MentionInputControlled'; import {normalize} from 'react-native-elements'; export interface AddCommentProps { @@ -124,6 +124,7 @@ const AddComment: React.FC<AddCommentProps> = ({momentId, placeholderText}) => { inputRef={ref} partTypes={mentionPartTypes('blue', 'comment')} addComment={addComment} + NewText={CommentTextField} /> </View> </View> |