Skip to content

Commit fcd51d4

Browse files
committed
tidy up
1 parent 4136cf2 commit fcd51d4

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

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

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -109,17 +109,9 @@ export function push(props, runes = false, fn) {
109109
m: false,
110110
s: props,
111111
x: null,
112-
l: null
112+
l: legacy_mode_flag && !runes ? { s: null, u: null, $: [] } : null
113113
});
114114

115-
if (legacy_mode_flag && !runes) {
116-
component_context.l = {
117-
s: null,
118-
u: null,
119-
$: []
120-
};
121-
}
122-
123115
teardown(() => {
124116
/** @type {ComponentContext} */ (ctx).d = true;
125117
});

0 commit comments

Comments
 (0)