aboutsummaryrefslogtreecommitdiff
path: root/src/components/Scoreboard/Scoreboard.js
diff options
context:
space:
mode:
authorEug-VS <eug-vs@keemail.me>2020-01-05 01:57:42 +0300
committerEug-VS <eug-vs@keemail.me>2020-01-05 01:57:42 +0300
commit57a8a5dccbc267543799fd01192b2a1534e53c64 (patch)
treeffd15705c39394257c3f77ccb453441cb77cd400 /src/components/Scoreboard/Scoreboard.js
parent048f277ef7831b8f1a02c5e6590fb8087862b7fc (diff)
downloadchrono-cube-ui-57a8a5dccbc267543799fd01192b2a1534e53c64.tar.gz
Isolate SolutionCard component
Diffstat (limited to 'src/components/Scoreboard/Scoreboard.js')
-rw-r--r--src/components/Scoreboard/Scoreboard.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/Scoreboard/Scoreboard.js b/src/components/Scoreboard/Scoreboard.js
index 1235f9a..399a017 100644
--- a/src/components/Scoreboard/Scoreboard.js
+++ b/src/components/Scoreboard/Scoreboard.js
@@ -3,7 +3,7 @@ import React, { useEffect, useState } from 'react';
import { Container, Typography } from "@material-ui/core";
import { get } from "../../requests";
-import Solution from "./Solution";
+import SolutionCard from "../SolutionCard/SolutionCard";
const Scoreboard = () => {
@@ -22,7 +22,7 @@ const Scoreboard = () => {
return (
<Container maxWidth="sm">
<Typography variant="h3" style={{textAlign: 'center'}}>Scoreboard</Typography>
- {solutions.map(solution => (<Solution solution={solution}/>))}
+ {solutions.map(solution => (<SolutionCard solution={solution}/>))}
</Container>
);
};