From 6428878e20fa54b7bb6b2bf6e0aaaeb637affa59 Mon Sep 17 00:00:00 2001
From: hmhealey <harrisonmhealey@gmail.com>
Date: Mon, 2 Nov 2015 17:35:59 -0500
Subject: Moved InviteMemberModal to be controlled by a store

---
 web/react/pages/channel.jsx | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'web/react/pages/channel.jsx')

diff --git a/web/react/pages/channel.jsx b/web/react/pages/channel.jsx
index 2e7a26d00..2f872effd 100644
--- a/web/react/pages/channel.jsx
+++ b/web/react/pages/channel.jsx
@@ -25,6 +25,7 @@ var ChannelInfoModal = require('../components/channel_info_modal.jsx');
 var RemovedFromChannelModal = require('../components/removed_from_channel_modal.jsx');
 var RegisterAppModal = require('../components/register_app_modal.jsx');
 var ImportThemeModal = require('../components/user_settings/import_theme_modal.jsx');
+var InviteMemberModal = require('../components/invite_member_modal.jsx');
 
 var AsyncClient = require('../utils/async_client.jsx');
 var Constants = require('../utils/constants.jsx');
@@ -78,6 +79,11 @@ function setupChannelPage(props) {
         document.getElementById('get_link_modal')
     );
 
+    ReactDOM.render(
+        <InviteMemberModal />,
+        document.getElementById('invite_member_modal')
+    );
+
     ReactDOM.render(
         <ImportThemeModal />,
         document.getElementById('import_theme_modal')
-- 
cgit v1.2.3-1-g7c22

