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 d2063ca commit 69bae17Copy full SHA for 69bae17
1 file changed
packages/svelte/src/reactivity/set.js
@@ -72,11 +72,10 @@ export class ReactiveSet extends Set {
72
73
/** @param {T} value */
74
has(value) {
75
- var exists = super.has(value);
76
var s = this.#tracked.get(value);
77
78
if (s === undefined) {
79
- s = source(exists);
+ s = source(super.has(value));
80
this.#tracked.set(value, s);
81
}
82
0 commit comments