Skip to content

Commit 1d68216

Browse files
fix: remove call to proxy for accessors props
Co-authored-by: Simon H <[email protected]>
1 parent 12b3a26 commit 1d68216

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ export function client_component(analysis, options) {
279279
if (binding?.kind === 'prop' || binding?.kind === 'bindable_prop') {
280280
return [
281281
getter,
282-
b.set(alias ?? name, [b.stmt(b.call(name, b.call('$.proxy', b.id('$$value'))))])
282+
b.set(alias ?? name, [b.stmt(b.call(name, b.id('$$value')))])
283283
];
284284
}
285285

0 commit comments

Comments
 (0)