team page added, uses data from previous page so that the team isn't loaded again if it's clicked from the team list
This commit is contained in:
parent
091634161f
commit
0e98d7329f
7 changed files with 63 additions and 23 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { CircularProgress, Typography, useTheme } from "@mui/material";
|
||||
import { Box, CircularProgress, Typography, useTheme } from "@mui/material";
|
||||
|
||||
interface Props {
|
||||
message?: string;
|
||||
|
|
@ -9,7 +9,7 @@ export default function LoadingScreen(props: Props) {
|
|||
const theme = useTheme();
|
||||
|
||||
return (
|
||||
<>
|
||||
<Box sx={{ width: "100%", height: "100%", justifyContent: "center", alignContent: "center", textAlign: "center" }}>
|
||||
<CircularProgress
|
||||
size={150}
|
||||
style={{ marginBottom: theme.spacing(4) }}
|
||||
|
|
@ -18,6 +18,6 @@ export default function LoadingScreen(props: Props) {
|
|||
<Typography variant="h6">
|
||||
{message ? message : "Loading..."}
|
||||
</Typography>
|
||||
</>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue