Skip to content

Commit 4d050c8

Browse files
Fix build error
1 parent 7703c6f commit 4d050c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

workshop-ui/src/app/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ export default async function Home() {
3434
function parseDifficulty(difficulty: string): Difficulty {
3535
switch (difficulty) {
3636
case 'easy':
37-
return 'Anfänger';
37+
return { class: styles.difficultyEasy, label: 'Einsteiger' };
3838
case 'medium':
39-
return 'Fortgeschritten';
39+
return { class: styles.difficultyMedium, label: 'Fortgeschritten' };
4040
case 'hard':
41-
return 'Experte';
41+
return { class: styles.difficultyHard, label: 'Experte' };
4242
default:
4343
return { class: '', label: '' };
4444
}

0 commit comments

Comments
 (0)