Skip to content
Snippets Groups Projects
Unverified Commit a64bed1c authored by Tom Robinson's avatar Tom Robinson
Browse files

Fix table viz crash when unmounting

parent ab2357e8
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,9 @@ export default class TableInteractive extends Component {
}
componentWillUnmount() {
this._div.parent.removeChild(this._div);
if (this._div) {
this._div.parentNode.removeChild(this._div);
}
}
componentWillReceiveProps(newProps) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment