feat: Improve the Drawer

This commit is contained in:
Alexander Polynomdivision
2018-08-26 19:27:21 +02:00
parent f804bc32b5
commit 1a48bb7a10
3 changed files with 65 additions and 5 deletions

View File

@@ -29,10 +29,10 @@ export default class Dashboard extends React.Component<{}> {
<Grid item lg={4}>
<Paper className="paper">
<Typography variant="title" component="p">
Rangliste
Rangliste: Top 10
</Typography>
<Scoreboard learners={this.props.learners} />
<Scoreboard learners={this.props.learners.slice(0, 10)} />
</Paper>
</Grid>
<Grid item lg={4}>