Error display, minor details
This commit is contained in:
parent
54f98beb40
commit
f13129350f
|
@ -6,6 +6,10 @@ import ErrorSnackbar from "./components/ErrorSnackbar";
|
||||||
import {Button, Textfield, Stack, InputLabel, Paper, Typography} from '@mui/material';
|
import {Button, Textfield, Stack, InputLabel, Paper, Typography} from '@mui/material';
|
||||||
|
|
||||||
|
|
||||||
|
function ProfileView() {
|
||||||
|
return "lol";
|
||||||
|
}
|
||||||
|
|
||||||
export default function LoginPage() {
|
export default function LoginPage() {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|
|
@ -122,7 +122,7 @@ function BracketViewer(props){
|
||||||
.then(data => {
|
.then(data => {
|
||||||
if (data.status !== "OK") {
|
if (data.status !== "OK") {
|
||||||
// Do your error thing
|
// Do your error thing
|
||||||
console.error(data);
|
showError(data.data);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let tournament = data.data;
|
let tournament = data.data;
|
||||||
|
|
Loading…
Reference in New Issue