Fixing es lint error

This commit is contained in:
Asaad Mahmood
2015-12-08 12:23:52 +05:00
parent f5c72e23d5
commit 3265a545cf

View File

@@ -106,11 +106,6 @@ export default class ChannelInviteModal extends React.Component {
);
}
render() {
var maxHeight = 1000;
if (Utils.windowHeight() <= 1200) {
maxHeight = Utils.windowHeight() - 300;
}
var inviteError = null;
if (this.state.inviteError) {
inviteError = (<label className='has-error control-label'>{this.state.inviteError}</label>);