Skip to content

Commit 3b9349e

Browse files
committed
tweak
1 parent 67b5c09 commit 3b9349e

File tree

1 file changed

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

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,17 +102,16 @@ export class Boundary {
102102
this.#props = props;
103103
this.#children = children;
104104

105+
this.#hydrate_open = hydrate_node;
106+
105107
this.parent = /** @type {Effect} */ (active_effect).b;
106108

107109
this.#effect = block(() => {
108110
var boundary_effect = /** @type {Effect} */ (active_effect);
109111
boundary_effect.b = this;
110112

111-
this.#hydrate_open = hydrate_node;
112-
113113
// @ts-ignore We re-use the effect's fn property to avoid allocation of an additional field
114114
boundary_effect.fn = (/** @type {unknown} */ input) => {
115-
var error = input;
116115
this.error(input);
117116
};
118117

0 commit comments

Comments
 (0)