diff --git a/src/client/src/LoginPage.js b/src/client/src/LoginPage.js index f723b63..2e819f4 100644 --- a/src/client/src/LoginPage.js +++ b/src/client/src/LoginPage.js @@ -6,6 +6,10 @@ import ErrorSnackbar from "./components/ErrorSnackbar"; import {Button, Textfield, Stack, InputLabel, Paper, Typography} from '@mui/material'; +function ProfileView() { + return "lol"; +} + export default function LoginPage() { return ( <> diff --git a/src/client/src/TournamentOverview.js b/src/client/src/TournamentOverview.js index ae44728..49d4aba 100644 --- a/src/client/src/TournamentOverview.js +++ b/src/client/src/TournamentOverview.js @@ -122,7 +122,7 @@ function BracketViewer(props){ .then(data => { if (data.status !== "OK") { // Do your error thing - console.error(data); + showError(data.data); return; } let tournament = data.data;