diff --git a/src/client/src/FrontPage.js b/src/client/src/FrontPage.js
index 00465ee..07c949d 100644
--- a/src/client/src/FrontPage.js
+++ b/src/client/src/FrontPage.js
@@ -190,9 +190,11 @@ function Home(props) {
}
-
- Finished tournaments are moved to the history-page
-
+ {props.user.isLoggedIn &&
+
+ Finished tournaments are moved to the history-page
+
+ }
>
);
@@ -223,7 +225,7 @@ export default function App() {
setUser({ isManager: false, isLoggedIn: false });
});
}
- // Debug mode, allow all:
+ // // Debug mode, allow all:
// let fetchUser = () => {
// setUser({
// name: "TEST USERTEST",