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_user_provider.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

diff --git a/webapp/components/suggestion/search_user_provider.jsx b/webapp/components/suggestion/search_user_provider.jsx
index 5a9e70d0f..1a3075a30 100644
--- a/webapp/components/suggestion/search_user_provider.jsx
+++ b/webapp/components/suggestion/search_user_provider.jsx
@@ -11,7 +11,7 @@ import Suggestion from './suggestion.jsx';
 
 class SearchUserSuggestion extends Suggestion {
     render() {
-        const {item, isSelection, onClick} = this.props;
+        const {item, isSelection} = this.props;
 
         let className = 'search-autocomplete__item';
         if (isSelection) {
@@ -21,7 +21,7 @@ class SearchUserSuggestion extends Suggestion {
         return (
             <div
                 className={className}
-                onClick={onClick}
+                onClick={this.handleClick}
             >
                 <img
                     className='profile-img rounded'
-- 
cgit v1.2.3-1-g7c22

