splitting a tutorial into introduction and assessment

This commit is contained in:
Delucse
2020-08-31 16:52:30 +02:00
parent d379489a91
commit 8c13a9e316
5 changed files with 59 additions and 6 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ class MyBreadcrumbs extends Component {
this.props.content && this.props.content.length > 1 ?
<Breadcrumbs separator="›">
{this.props.content.splice(0, this.props.content.length-1).map((content, i) => (
<Link to={content.link} style={{textDecoration: 'none'}}>
<Link to={content.link} style={{textDecoration: 'none'}} key={i}>
<Typography color="secondary">{content.title}</Typography>
</Link>
))}