Skip to content

Commit b624b24

Browse files
committed
tweak again
1 parent 4b42ae6 commit b624b24

File tree

1 file changed

+10
-10
lines changed
  • packages/svelte/src/internal/client/dom/blocks

1 file changed

+10
-10
lines changed

packages/svelte/src/internal/client/dom/blocks/boundary.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -100,17 +100,17 @@ export function boundary(node, boundary_fn, failed, onerror) {
100100
);
101101
});
102102
});
103+
}
103104

104-
// If there was an error then we'll need to remove the current content
105-
// that was SSR'd
106-
if (hydrating) {
107-
set_hydrate_node(/** @type {TemplateNode} */ (start.nextSibling));
108-
var hydration_node = remove_nodes();
109-
set_hydrate_node(hydration_node);
110-
}
111-
if (boundary_effect) {
112-
destroy_effect(boundary_effect);
113-
}
105+
// If there was an error then we'll need to remove the current content
106+
// that was SSR'd
107+
if (hydrating) {
108+
set_hydrate_node(/** @type {TemplateNode} */ (start.nextSibling));
109+
var hydration_node = remove_nodes();
110+
set_hydrate_node(hydration_node);
111+
}
112+
if (boundary_effect) {
113+
destroy_effect(boundary_effect);
114114
}
115115
};
116116

0 commit comments

Comments
 (0)