From 956d460b108f278b6cfbcb728241b89b992b2a55 Mon Sep 17 00:00:00 2001
From: hmhealey <harrisonmhealey@gmail.com>
Date: Mon, 30 Nov 2015 14:12:09 -0500
Subject: Changed SuggestionProviders to be regular objects and not singletons

---
 web/react/components/search_channel_provider.jsx | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

(limited to 'web/react/components/search_channel_provider.jsx')

diff --git a/web/react/components/search_channel_provider.jsx b/web/react/components/search_channel_provider.jsx
index 5c7ffac2e..6b2fa2d62 100644
--- a/web/react/components/search_channel_provider.jsx
+++ b/web/react/components/search_channel_provider.jsx
@@ -31,7 +31,7 @@ SearchChannelSuggestion.propTypes = {
     onClick: React.PropTypes.func
 };
 
-class SearchChannelProvider {
+export default class SearchChannelProvider {
     handlePretextChanged(suggestionId, pretext) {
         const captured = (/\b(?:in|channel):\s*(\S*)$/i).exec(pretext);
         if (captured) {
@@ -67,5 +67,3 @@ class SearchChannelProvider {
         }
     }
 }
-
-export default new SearchChannelProvider();
\ No newline at end of file
-- 
cgit v1.2.3-1-g7c22

