mirror of
https://github.com/google-map-react/google-map-react.git
synced 2025-12-08 18:26:32 +00:00
Fix code styling in develop (#564)
This commit is contained in:
parent
898474d3f9
commit
aec0c08aae
@ -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';
|
||||
|
||||
|
||||
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user