Skip to content

Commit

Permalink
fix removeBackButtonListener on F8DrawerLayout willUnmout (fbsamples#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
Original file line number Diff line number Diff line change
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.