Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

Commit

Permalink
fix removeBackButtonListener on F8DrawerLayout willUnmout (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
damusnet authored and frantic committed May 2, 2016
1 parent 9ec067a commit 950aa3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/common/F8DrawerLayout.js
Expand Up @@ -56,7 +56,7 @@ class F8DrawerLayout extends React.Component {
}

componentWillUnmount() {
this.context.removeBackButtonListener(this.closeDrawer);
this.context.removeBackButtonListener(this.handleBackButton);
this._drawer = null;
}

Expand Down

0 comments on commit 950aa3b

Please sign in to comment.