Skip to content

Commit b0c751d

Browse files
authored
Update packages/svelte/src/internal/client/dom/blocks/svelte-element.js
1 parent b999015 commit b0c751d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte/src/internal/client/dom/blocks/svelte-element.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export function element(anchor, get_tag, is_svg, render_fn, get_namespace) {
115115
? element.firstChild && hydrate_anchor(/** @type {Comment} */ (element.firstChild))
116116
: element.appendChild(empty());
117117

118-
// `child_anchor` is undefined if this is a void element, but we still,
118+
// `child_anchor` is undefined if this is a void element, but we still
119119
// need to call `render_fn` in order to run actions etc. If the element
120120
// contains children, it's a user error (which is warned on elsewhere)
121121
// and the DOM will be silently discarded

0 commit comments

Comments
 (0)