diff --git a/config/custom_components/react_panel/panel.html b/config/custom_components/react_panel/panel.html index 12b473cc466..eceee0f0616 100644 --- a/config/custom_components/react_panel/panel.html +++ b/config/custom_components/react_panel/panel.html @@ -409,7 +409,7 @@ Polymer({ // Unmount React node when panel no longer in use. detached: function () { - ReactDOM.unmountComponentAtNode(this); + ReactDOM.unmountComponentAtNode(this.$.mount); }, });