Skip to content

Commit 552abb6

Browse files
authored
fix stupid typo
1 parent 37f52a4 commit 552abb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte/src/internal/client/runtime.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1862,7 +1862,7 @@ export function value_or_fallback(value, fallback) {
18621862
* @param {() => any} fn
18631863
* @returns {void}
18641864
*/
1865-
function on_estroy(fn) {
1865+
function on_destroy(fn) {
18661866
user_effect(() => () => untrack(fn));
18671867
}
18681868

0 commit comments

Comments
 (0)