diff options
Diffstat (limited to 'webapp/components/create_comment/index.js')
-rw-r--r-- | webapp/components/create_comment/index.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/webapp/components/create_comment/index.js b/webapp/components/create_comment/index.js deleted file mode 100644 index 50017461a..000000000 --- a/webapp/components/create_comment/index.js +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) 2017 Mattermost, Inc. All Rights Reserved. -// See License.txt for license information. - -import {connect} from 'react-redux'; - -import CreateComment from './create_comment.jsx'; - -function mapStateToProps(state, ownProps) { - const err = state.requests.posts.createPost.error || {}; - return { - ...ownProps, - createPostErrorId: err.server_error_id - }; -} - -export default connect(mapStateToProps)(CreateComment); |