summaryrefslogtreecommitdiffstats
path: root/webapp/components/channel_invite_button.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/channel_invite_button.jsx')
-rw-r--r--webapp/components/channel_invite_button.jsx4
1 files changed, 0 insertions, 4 deletions
diff --git a/webapp/components/channel_invite_button.jsx b/webapp/components/channel_invite_button.jsx
index 290c2bea4..7c2718cb9 100644
--- a/webapp/components/channel_invite_button.jsx
+++ b/webapp/components/channel_invite_button.jsx
@@ -40,10 +40,6 @@ export default class ChannelInviteButton extends React.Component {
this.props.channel.id,
this.props.user.id,
() => {
- this.setState({
- addingUser: false
- });
-
this.props.onInviteError(null);
},
(err) => {