diff --git a/js/components/Navigation.js b/js/components/Navigation.js index ec697df..e8f6c5a 100644 --- a/js/components/Navigation.js +++ b/js/components/Navigation.js @@ -10,22 +10,16 @@ import {notify} from 'react-notify-toast'; export class TurniereNavigation extends React.Component { constructor(props) { super(props); - this.toggle = this.toggle.bind(this); - - this.state = { - collapsed: true - }; + this.state = {collapsed: true}; } toggle() { - this.setState({ - collapsed: !this.state.collapsed - }); + this.setState({collapsed: !this.state.collapsed}); } render() { - return ( + return ( turnie.re