Skip to content

Commit 5670a21

Browse files
committed
fix: use #source in set too
1 parent 2ea891e commit 5670a21

File tree

1 file changed

+1
-1
lines changed
  • packages/svelte/src/reactivity

1 file changed

+1
-1
lines changed

packages/svelte/src/reactivity/map.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ export class SvelteMap extends Map {
182182
var version = this.#version;
183183

184184
if (s === undefined) {
185-
s = state(0);
185+
s = this.#source(0);
186186

187187
if (DEV) {
188188
tag(s, `SvelteMap get(${label(key)})`);

0 commit comments

Comments
 (0)