fix: The client and server send the ILevel type differently

This commit is contained in:
Alexander Polynomdivision committed 2018-10-01 17:31:23 +02:00
1 parent 9144676ec2
commit 8e71aa85dc
4 files changed
+11 -5

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
export interface ILevel {
name: string;
desc: string;
description: string;
level: number;
done: boolean;
+1 -1
View File
@@ -74,7 +74,7 @@ export default class Dashboard extends React.Component<IProps> {
<Typography variant="title" component="p">{level.name}</Typography>
<br />
<Typography component="p">
{level.desc}
{level.description}
</Typography>
<Button
component={Link}
+1 -1
View File
@@ -68,7 +68,7 @@ export default class Dashboard extends React.Component<IProps> {
<Typography variant="title" component="p">{level.name}</Typography>
<br />
<Typography component="p">
{level.desc}
{level.description}
</Typography>
</CardContent>
<CardActions>