1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 08:28:11 +00:00

fix warnings (#3441)

This commit is contained in:
Michael An
2019-05-11 20:38:17 +08:00
committed by Daniel Pan
parent beb841926a
commit 0a232cebff
5 changed files with 10 additions and 9 deletions

View File

@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
import {gettext} from '../../utils/constants';
import {seafileAPI} from '../../utils/seafile-api';
import {Modal, ModalHeader, ModalBody, ModalFooter, Input, Button} from 'reactstrap';
import toaster from "../toast";
import toaster from '../toast';
class InvitePeopleDialog extends React.Component {
@@ -97,10 +97,12 @@ class InvitePeopleDialog extends React.Component {
<ModalHeader toggle={this.props.toggleInvitePeopleDialog}>{gettext('Invite People')}</ModalHeader>
<ModalBody>
<label htmlFor="emails">{gettext('Emails')}</label>
<Input type="text" id="emails" placeholder={gettext("Emails, separated by ','")}
value={this.state.emails}
onChange={this.handleEmailsChange}
onKeyDown={this.handleKeyDown}
<Input
type="text" id="emails"
placeholder={gettext("Emails, separated by ','")}
value={this.state.emails}
onChange={this.handleEmailsChange}
onKeyDown={this.handleKeyDown}
/>
<span className="error">{this.state.errorMsg}</span>
</ModalBody>