add missing proxy call

proxied-state-set
Dominic Gannaway 10 months ago
parent 574d132670
commit 676ef455b6

@ -107,7 +107,7 @@ const handler = {
const has = Reflect.has(target, prop); const has = Reflect.has(target, prop);
let s = metadata.s.get(prop); let s = metadata.s.get(prop);
if (s === undefined) { if (s === undefined) {
s = source(has ? target[prop] : UNINITIALIZED); s = source(has ? proxy(target[prop]) : UNINITIALIZED);
increment(metadata.v); increment(metadata.v);
metadata.s.set(prop, s); metadata.s.set(prop, s);
} }

Loading…
Cancel
Save