Skip to content

Commit 9838ddf

Browse files
committed
oops
1 parent 264f129 commit 9838ddf

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
@@ -1350,7 +1350,7 @@ export function mutable_source(initial_value) {
13501350
// bind the signal to the component context, in case we need to
13511351
// track updates to trigger beforeUpdate/afterUpdate callbacks
13521352
if (current_component_context) {
1353-
(current_component_context.d ?? []).push(s);
1353+
(current_component_context.d ??= []).push(s);
13541354
}
13551355

13561356
return s;

0 commit comments

Comments
 (0)