previous
+
{#if prev}
{prev.title}
{/if}
diff --git a/sites/svelte.dev/src/routes/tutorial/[slug]/+page.svelte b/sites/svelte.dev/src/routes/tutorial/[slug]/+page.svelte
index d7f11fe7c3..20615c1f59 100644
--- a/sites/svelte.dev/src/routes/tutorial/[slug]/+page.svelte
+++ b/sites/svelte.dev/src/routes/tutorial/[slug]/+page.svelte
@@ -80,8 +80,9 @@
let completed = false;
+ /** @param {import('svelte').ComponentEvents
['change']} event */
function handle_change(event) {
- completed = event.detail.components.every((file, i) => {
+ completed = event.detail.files.every((file, i) => {
const expected = data.tutorial.complete[i] && clone(data.tutorial.complete[i]);
return (
expected &&