diff --git a/js/components/Navigation.js b/js/components/Navigation.js
index b9d0775..a58a33f 100644
--- a/js/components/Navigation.js
+++ b/js/components/Navigation.js
@@ -40,11 +40,7 @@ export class TurniereNavigation extends React.Component {
-
+
@@ -60,6 +56,18 @@ function Navlink(props) {
);
}
+class SmartNavLinks extends React.Component {
+
+ render() {
+ return ();
+ }
+}
+
function Betabadge() {
return (BETA);
}
@@ -87,12 +95,15 @@ class InvisibleLoginLogoutButtons extends React.Component {
}
}
-const mapStateToLoginLogoutButtonProperties = (state) => {
+const mapStateToUserinfo = (state) => {
const { isSignedIn, username } = state.userinfo;
return { isSignedIn, username };
};
const LoginLogoutButtons = connect(
- mapStateToLoginLogoutButtonProperties
+ mapStateToUserinfo
)(InvisibleLoginLogoutButtons);
+const NavLinks = connect(
+ mapStateToUserinfo
+)(SmartNavLinks);
\ No newline at end of file