Fix code styling in develop (#564)

This commit is contained in:
Michael Diego 2018-04-18 15:11:47 -03:00 committed by GitHub
parent 898474d3f9
commit aec0c08aae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -1,9 +1,9 @@
import { Component } from 'react';
import omit from './omit';
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
import 'rxjs/add/operator/distinctUntilChanged';
import omit from './omit';
import createHelper from './createHelper';
import createEagerFactory from './createEagerFactory';

View File

@ -610,7 +610,9 @@ export default class GoogleMap extends Component {
},
onRemove() {
if(this.div) ReactDOM.unmountComponentAtNode(this.div);
if (this.div) {
ReactDOM.unmountComponentAtNode(this.div);
}
},
draw() {