aboutsummaryrefslogtreecommitdiff
path: root/src/components/Scoreboard/Scoreboard.js
diff options
context:
space:
mode:
authorEug-VS <eug-vs@keemail.me>2020-01-03 02:21:54 +0300
committerEug-VS <eug-vs@keemail.me>2020-01-03 02:22:28 +0300
commit15cf186e8b5ef25188df92be18d421a486033ee2 (patch)
treef8a66f4c60176cf8c3d759bbd68a26642b07283a /src/components/Scoreboard/Scoreboard.js
parent3cc00d726e40886d64b2554fb0c48571621d4191 (diff)
downloadchrono-cube-ui-15cf186e8b5ef25188df92be18d421a486033ee2.tar.gz
Apply styles to the Scoreboard
Diffstat (limited to 'src/components/Scoreboard/Scoreboard.js')
-rw-r--r--src/components/Scoreboard/Scoreboard.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/components/Scoreboard/Scoreboard.js b/src/components/Scoreboard/Scoreboard.js
index 1ebca90..5545d19 100644
--- a/src/components/Scoreboard/Scoreboard.js
+++ b/src/components/Scoreboard/Scoreboard.js
@@ -1,5 +1,6 @@
import React, {useEffect, useState} from 'react';
+import { Container } from "@material-ui/core";
import { get } from "../../requests";
import Solution from "./Solution";
@@ -19,10 +20,10 @@ const Scoreboard = () => {
return (
- <div>
- { solutions.map(solution => <Solution solution={solution}/>) }
- </div>
+ <Container maxWidth="sm">
+ {solutions.map(solution => (<Solution solution={solution}/>))}
+ </Container>
);
};
-export default Scoreboard; \ No newline at end of file
+export default Scoreboard;