summaryrefslogtreecommitdiffstats
path: root/webapp/components/channel_invite_modal.jsx
diff options
context:
space:
mode:
authorenahum <nahumhbl@gmail.com>2016-12-05 10:19:12 -0300
committerHarrison Healey <harrisonmhealey@gmail.com>2016-12-05 08:19:12 -0500
commit145876681f03f68d2fcdd4f0339f6b2b9f7b9958 (patch)
treea1d46412813338d5e9453e3fc515dd52188cef91 /webapp/components/channel_invite_modal.jsx
parent05783664cd91e278913db5504e60bb8bc2992cb6 (diff)
downloadchat-145876681f03f68d2fcdd4f0339f6b2b9f7b9958.tar.gz
chat-145876681f03f68d2fcdd4f0339f6b2b9f7b9958.tar.bz2
chat-145876681f03f68d2fcdd4f0339f6b2b9f7b9958.zip
Fix react warnings and part of backstage (#4706)
Diffstat (limited to 'webapp/components/channel_invite_modal.jsx')
-rw-r--r--webapp/components/channel_invite_modal.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/components/channel_invite_modal.jsx b/webapp/components/channel_invite_modal.jsx
index 9ffe4816a..a9655f183 100644
--- a/webapp/components/channel_invite_modal.jsx
+++ b/webapp/components/channel_invite_modal.jsx
@@ -123,12 +123,12 @@ export default class ChannelInviteModal extends React.Component {
}
render() {
- var inviteError = null;
+ let inviteError = null;
if (this.state.inviteError) {
inviteError = (<label className='has-error control-label'>{this.state.inviteError}</label>);
}
- var content;
+ let content;
if (this.state.loading) {
content = (<LoadingScreen/>);
} else {