Skip to content

Commit 5fe0272

Browse files
authored
docs: remove duplicate onDestroy description (#15274)
1 parent a3e49b6 commit 5fe0272

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

documentation/docs/06-runtime/03-lifecycle-hooks.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ If a function is returned from `onMount`, it will be called when the component i
4545
4646
## `onDestroy`
4747

48-
> EXPORT_SNIPPET: svelte#onDestroy
49-
5048
Schedules a callback to run immediately before the component is unmounted.
5149

5250
Out of `onMount`, `beforeUpdate`, `afterUpdate` and `onDestroy`, this is the only one that runs inside a server-side component.

0 commit comments

Comments
 (0)