Formatting

This commit is contained in:
Luke Barnard 2017-01-30 16:13:57 +00:00
parent 4e0889454a
commit 318d871097

View File

@ -97,9 +97,11 @@ module.exports = React.createClass({
this.registerLogic.setGuestAccessToken(this.props.guestAccessToken);
this.registerLogic.recheckState();
if (this.props.teamServerConfig &&
if (
this.props.teamServerConfig &&
this.props.teamServerConfig.teamServerURL &&
!this._rtsClient) {
!this._rtsClient
) {
this._rtsClient = new RtsClient(this.props.teamServerConfig.teamServerURL);
// GET team configurations including domains, names and icons