summaryrefslogtreecommitdiffstats
path: root/webapp/components/suggestion/suggestion_box.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-03-18 13:16:51 -0400
committerChristopher Speller <crspeller@gmail.com>2016-03-18 13:16:51 -0400
commit35320efe1afad87419992275ba555ddcbfcdf46b (patch)
tree52925b8521dd4b8c8291499f76c2ed3c278271f8 /webapp/components/suggestion/suggestion_box.jsx
parent6d586c7309cb0ddaca6580dd1520aef4ff554fb5 (diff)
downloadchat-35320efe1afad87419992275ba555ddcbfcdf46b.tar.gz
chat-35320efe1afad87419992275ba555ddcbfcdf46b.tar.bz2
chat-35320efe1afad87419992275ba555ddcbfcdf46b.zip
Revert "PLT-2183 Slash command auto-complete"
Diffstat (limited to 'webapp/components/suggestion/suggestion_box.jsx')
-rw-r--r--webapp/components/suggestion/suggestion_box.jsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/webapp/components/suggestion/suggestion_box.jsx b/webapp/components/suggestion/suggestion_box.jsx
index 97c6c6cd9..e3ec63194 100644
--- a/webapp/components/suggestion/suggestion_box.jsx
+++ b/webapp/components/suggestion/suggestion_box.jsx
@@ -111,7 +111,7 @@ export default class SuggestionBox extends React.Component {
handlePretextChanged(pretext) {
for (const provider of this.props.providers) {
- provider.handlePretextChanged(this.suggestionId, pretext, this.props.channelId);
+ provider.handlePretextChanged(this.suggestionId, pretext);
}
}
@@ -160,7 +160,6 @@ SuggestionBox.propTypes = {
value: React.PropTypes.string.isRequired,
onUserInput: React.PropTypes.func,
providers: React.PropTypes.arrayOf(React.PropTypes.object),
- channelId: React.PropTypes.string,
// explicitly name any input event handlers we override and need to manually call
onChange: React.PropTypes.func,