Hide history-link

This commit is contained in:
Felix Albrigtsen 2022-04-24 19:24:07 +02:00
parent 12f0984873
commit 116162ec50
1 changed files with 6 additions and 4 deletions

View File

@ -190,9 +190,11 @@ function Home(props) {
}
</Box>
<TournamentList user={props.user} />
{props.user.isLoggedIn &&
<Typography variant="h5" color="#555555">
Finished tournaments are moved to the <Link to="/history">history-page</Link>
</Typography>
}
</Container>
</>
);
@ -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",