diff options
author | Eug-VS <eug-vs@keemail.me> | 2020-01-03 22:48:18 +0300 |
---|---|---|
committer | Eug-VS <eug-vs@keemail.me> | 2020-01-03 22:48:18 +0300 |
commit | a7b17c6f460031c8caf0b3f6173b817b4a6cc8fa (patch) | |
tree | c044f7cd6c2b2a829e09372859f25efafe54b440 | |
parent | b58864eb04e1776e73f05c41ef986a6bfc58d5c1 (diff) | |
download | chrono-cube-ui-a7b17c6f460031c8caf0b3f6173b817b4a6cc8fa.tar.gz |
Remove page name from blank pages.
-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> |