We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3282c29 commit b747352Copy full SHA for b747352
src/Layer.js
@@ -28,7 +28,7 @@ class LayerImpl extends React.Component {
28
const { container } = this.state
29
const { root, host, onUnmount } = this.props
30
root && onUnmount && onUnmount(root)
31
- host && host.removeChild(container)
+ host && container && host.removeChild(container)
32
}
33
render() {
34
0 commit comments