From c81154957eb1026881bf3f41d3224a43d2f674d5 Mon Sep 17 00:00:00 2001 From: VansonLeung Date: Sun, 10 Jul 2016 22:45:16 +0800 Subject: [PATCH] Fix issue #1 --- JellySideMenu.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/JellySideMenu.js b/JellySideMenu.js index c2dee18..3a75367 100644 --- a/JellySideMenu.js +++ b/JellySideMenu.js @@ -208,7 +208,7 @@ class JellySideMenuSvgWrapper extends Component { render() { - if (this.state.is_undocked) { + if (!this.isMounted() || this.state.is_undocked) { return null } @@ -389,4 +389,4 @@ class JellySideMenuSvg extends Component { -module.exports = JellySideMenu; \ No newline at end of file +module.exports = JellySideMenu;