diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/components/Scoreboard/Scoreboard.js | 5 | ||||
-rw-r--r-- | src/index.js | 1 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/components/Scoreboard/Scoreboard.js b/src/components/Scoreboard/Scoreboard.js index 5545d19..1235f9a 100644 --- a/src/components/Scoreboard/Scoreboard.js +++ b/src/components/Scoreboard/Scoreboard.js @@ -1,6 +1,6 @@ -import React, {useEffect, useState} from 'react'; +import React, { useEffect, useState } from 'react'; -import { Container } from "@material-ui/core"; +import { Container, Typography } from "@material-ui/core"; import { get } from "../../requests"; import Solution from "./Solution"; @@ -21,6 +21,7 @@ const Scoreboard = () => { return ( <Container maxWidth="sm"> + <Typography variant="h3" style={{textAlign: 'center'}}>Scoreboard</Typography> {solutions.map(solution => (<Solution solution={solution}/>))} </Container> ); diff --git a/src/index.js b/src/index.js index a397310..e88b342 100644 --- a/src/index.js +++ b/src/index.js @@ -48,7 +48,6 @@ const App = () => { <CssBaseline/> <Header setPage={setPage}/> <Box className={classes.root}> - <Typography variant="h4"> This is the {page} page! </Typography> { getPageComponent(page) } </Box> </ThemeProvider> |