mirror of
https://github.com/google-map-react/google-map-react.git
synced 2025-12-08 18:26:32 +00:00
Merge pull request #38 from Andreyco/master
Use ReactDom to fix deprecation warning.
This commit is contained in:
commit
b4ee2c82d3
@ -184,7 +184,7 @@ export default class GoogleMap extends Component {
|
||||
},
|
||||
|
||||
onRemove() {
|
||||
React.unmountComponentAtNode(this.div);
|
||||
ReactDom.unmountComponentAtNode(this.div);
|
||||
},
|
||||
|
||||
draw() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user