From 949150ee907a9f6e9df2b9248023ed73373ebfb1 Mon Sep 17 00:00:00 2001 From: u-e Date: Thu, 3 Jan 2019 11:36:16 +0300 Subject: [PATCH] fixed tags --- src/components/editorElements/tagArea/view/tagAreaView.js | 2 +- src/screens/editor/screen/editorScreen.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/editorElements/tagArea/view/tagAreaView.js b/src/components/editorElements/tagArea/view/tagAreaView.js index fbe0877df..0e4aaa9d4 100644 --- a/src/components/editorElements/tagArea/view/tagAreaView.js +++ b/src/components/editorElements/tagArea/view/tagAreaView.js @@ -18,7 +18,7 @@ export default class TagAreaView extends Component { super(props); this.state = { currentText: '', - chips: props.draftChips || [' '], + chips: [' '], chipsCount: props.chipsCount || 5, activeChip: 0, }; diff --git a/src/screens/editor/screen/editorScreen.js b/src/screens/editor/screen/editorScreen.js index 9d61f18e9..7cbdbf7de 100644 --- a/src/screens/editor/screen/editorScreen.js +++ b/src/screens/editor/screen/editorScreen.js @@ -176,7 +176,7 @@ class EditorScreen extends Component { {!isReply && } {!isReply && ( 0 && fields.tags} componentID="tag-area" handleTagChanged={this._handleOnTagAdded} intl={intl}