Skip to content

Commit aeec49b

Browse files
Remove extraneous call to loop function (#350)
This extra call to the `loop` function isn't present in `app-b/src/lib/App.svelte`, so it should be removed from the text of the tutorial.
1 parent 8c6d0fd commit aeec49b

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)