From e44b8ec6d57fc55230a5c97ea105b7fd9ef59aca Mon Sep 17 00:00:00 2001
From: Harrison Healey <harrisonmhealey@gmail.com>
Date: Thu, 2 Jun 2016 15:42:50 -0400
Subject: Fixed click handlers for autocomplete (#3213)

---
 webapp/components/suggestion/search_channel_provider.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'webapp/components/suggestion/search_channel_provider.jsx')

diff --git a/webapp/components/suggestion/search_channel_provider.jsx b/webapp/components/suggestion/search_channel_provider.jsx
index 2b8005204..2e60d579f 100644
--- a/webapp/components/suggestion/search_channel_provider.jsx
+++ b/webapp/components/suggestion/search_channel_provider.jsx
@@ -11,7 +11,7 @@ import Suggestion from './suggestion.jsx';
 
 class SearchChannelSuggestion extends Suggestion {
     render() {
-        const {item, isSelection, onClick} = this.props;
+        const {item, isSelection} = this.props;
 
         let className = 'search-autocomplete__item';
         if (isSelection) {
@@ -20,7 +20,7 @@ class SearchChannelSuggestion extends Suggestion {
 
         return (
             <div
-                onClick={onClick}
+                onClick={this.handleClick}
                 className={className}
             >
                 <i className='fa fa fa-plus-square'></i>{item.name}
-- 
cgit v1.2.3-1-g7c22

