Skip to content

Commit 83c9244

Browse files
author
Rich Harris
committed
Merge branch 'main' of github.com:sveltejs/learn.svelte.dev
2 parents 9456013 + aeec49b commit 83c9244

File tree

1 file changed

+1
-3
lines changed
  • content/tutorial/01-svelte/07-lifecycle/01-onmount

1 file changed

+1
-3
lines changed

Diff for: content/tutorial/01-svelte/07-lifecycle/01-onmount/README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,8 @@ onMount(() => {
4949
paint(context, t);
5050
});
5151

52-
loop();
53-
5452
+++ return () => {
5553
cancelAnimationFrame(frame);
5654
};+++
5755
});
58-
```
56+
```

0 commit comments

Comments
 (0)