Fix context binding of 'this'
This commit is contained in:
committed by
Tom MacWright
parent
e351f4227a
commit
ab3b61d580
@ -92,6 +92,8 @@ export default class App extends React.PureComponent {
|
|||||||
showNav: false
|
showNav: false
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.navigationItemClicked = this.navigationItemClicked.bind(this);
|
||||||
}
|
}
|
||||||
toggleNav() {
|
toggleNav() {
|
||||||
this.setState({ showNav: !this.state.showNav });
|
this.setState({ showNav: !this.state.showNav });
|
||||||
|
Reference in New Issue
Block a user