Skip to content

Commit 51ecbef

Browse files
committed
oops
1 parent c793cf3 commit 51ecbef

File tree

1 file changed

+1
-1
lines changed
  • packages/svelte/src/compiler/phases/3-transform/client/visitors

1 file changed

+1
-1
lines changed

packages/svelte/src/compiler/phases/3-transform/client/visitors/ClassBody.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export function ClassBody(node, context) {
125125
? b.call('$.assignable_proxy', init, options)
126126
: b.call('$.state', init, options);
127127
} else {
128-
value = b.call('$derived', field.kind === 'derived_by' ? init : b.thunk(init));
128+
value = b.call('$.derived', field.kind === 'derived_by' ? init : b.thunk(init));
129129
}
130130
} else {
131131
// if no arguments, we know it's state as `$derived()` is a compile error

0 commit comments

Comments
 (0)