diff options
Diffstat (limited to 'webapp/components/suggestion/command_provider.jsx')
-rw-r--r-- | webapp/components/suggestion/command_provider.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/components/suggestion/command_provider.jsx b/webapp/components/suggestion/command_provider.jsx index 73ae4deaa..58b77a331 100644 --- a/webapp/components/suggestion/command_provider.jsx +++ b/webapp/components/suggestion/command_provider.jsx @@ -9,7 +9,7 @@ import Suggestion from './suggestion.jsx'; class CommandSuggestion extends Suggestion { render() { - const {item, isSelection, onClick} = this.props; + const {item, isSelection} = this.props; let className = 'command'; if (isSelection) { @@ -19,7 +19,7 @@ class CommandSuggestion extends Suggestion { return ( <div className={className} - onClick={onClick} + onClick={this.handleClick} > <div className='command__title'> <string>{item.suggestion} {item.hint}</string> |