From 489151d2d2ab821b51637a67c53b41246dfcd9b4 Mon Sep 17 00:00:00 2001 From: Saturnino Abril Date: Wed, 26 Jul 2017 07:45:55 +0800 Subject: [PLT-1031] Update clicking on @mention to show the contact card (#6989) * update clicking on @mention to show the contact card * update per comment - getUserFromMentionName and suffix --- webapp/components/at_mention/index.jsx | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'webapp/components/at_mention/index.jsx') diff --git a/webapp/components/at_mention/index.jsx b/webapp/components/at_mention/index.jsx index c733158c6..37c886bbd 100644 --- a/webapp/components/at_mention/index.jsx +++ b/webapp/components/at_mention/index.jsx @@ -5,8 +5,6 @@ import {connect} from 'react-redux'; import {getUsersByUsername} from 'mattermost-redux/selectors/entities/users'; -import {searchForTerm} from 'actions/post_actions.jsx'; - import AtMention from './at_mention.jsx'; function mapStateToProps(state, ownProps) { @@ -16,12 +14,4 @@ function mapStateToProps(state, ownProps) { }; } -function mapDispatchToProps() { - return { - actions: { - searchForTerm - } - }; -} - -export default connect(mapStateToProps, mapDispatchToProps)(AtMention); +export default connect(mapStateToProps)(AtMention); -- cgit v1.2.3-1-g7c22