fix: The client and server send the ILevel type differently
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
export interface ILevel {
|
||||
name: string;
|
||||
desc: string;
|
||||
description: string;
|
||||
level: number;
|
||||
|
||||
done: boolean;
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user