We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff82b63 commit 4f7d6a8Copy full SHA for 4f7d6a8
packages/svelte/src/internal/client/proxy.js
@@ -266,10 +266,7 @@ export function proxy(value) {
266
// object property before writing to that property.
267
if (s === undefined) {
268
if (!has || get_descriptor(target, prop)?.writable) {
269
- s = with_parent(() => {
270
- var s = source(undefined, stack);
271
- return s;
272
- });
+ s = with_parent(() => source(undefined, stack));
273
set(s, proxy(value));
274
275
sources.set(prop, s);
0 commit comments