Skip to content

Commit a4bd59a

Browse files
committed
mutable_source is only used in non-runes mode, no need to check here
1 parent f2a5096 commit a4bd59a

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
@@ -1349,7 +1349,7 @@ export function mutable_source(initial_value) {
13491349

13501350
// bind the signal to the component context, in case we need to
13511351
// track updates to trigger beforeUpdate/afterUpdate callbacks
1352-
if (current_component_context && !current_component_context.r) {
1352+
if (current_component_context) {
13531353
const signals = current_component_context.d;
13541354

13551355
if (signals) {

0 commit comments

Comments
 (0)