From d5e652d244058dfd6a2669da612149679faebb71 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Fri, 29 Jul 2016 09:28:15 -0700 Subject: [PATCH] Update panel.html --- config/custom_components/react_panel/panel.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }, });