Skip to content

Commit

Permalink
Fix issue #1
Browse files Browse the repository at this point in the history
  • Loading branch information
VansonLeung authored Jul 10, 2016
1 parent ed80202 commit c811549
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions JellySideMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ class JellySideMenuSvgWrapper extends Component {


render() {
if (this.state.is_undocked) {
if (!this.isMounted() || this.state.is_undocked) {
return null
}

Expand Down Expand Up @@ -389,4 +389,4 @@ class JellySideMenuSvg extends Component {



module.exports = JellySideMenu;
module.exports = JellySideMenu;

0 comments on commit c811549

Please sign in to comment.