Skip to content

Commit fb4ca36

Browse files
authored
Update sites/svelte-5-preview/src/routes/docs/content/01-api/02-runes.md
1 parent e13b35e commit fb4ca36

File tree

1 file changed

+1
-1
lines changed
  • sites/svelte-5-preview/src/routes/docs/content/01-api

1 file changed

+1
-1
lines changed

sites/svelte-5-preview/src/routes/docs/content/01-api/02-runes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ which is a function callback for when this happens in case. This allows you to c
217217
218218
const cleanup = $effect.root(() => {
219219
// ...
220-
}. () => {
220+
}, () => {
221221
console.log('parent effect is cleaned up');
222222
cleanup();
223223
});

0 commit comments

Comments
 (0)