Skip to content

Commit 8aa34c1

Browse files
vhtmui15363205631
and
15363205631
authored
fix: incorrect value in <select> element. (#894)
Fix incorrect value in <select> element. Co-authored-by: 15363205631 <[email protected]>
1 parent 1b686b8 commit 8aa34c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/svelte.dev/src/routes/tutorial/[...slug]/Controls.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
// TODO this really sucks, why is `exercise.slug` not the slug?
1818
let actual_slug = $derived.by(() => {
1919
const parts = exercise.slug.split('/');
20-
return `${parts[1]}/${parts[3]}`;
20+
return `${parts[1].includes('kit') ? 'kit' : 'svelte'}/${parts[3]}`;
2121
});
2222
</script>
2323

0 commit comments

Comments
 (0)