Skip to content

Commit 41eeaba

Browse files
committed
eh that'll work for now
1 parent 01d6a75 commit 41eeaba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ export function VariableDeclaration(node, context) {
216216
}
217217
}
218218
} else {
219+
value = visited;
219220
if (rune === '$state' && is_proxy) {
220221
value = b.call('$.proxy', value);
221222

0 commit comments

Comments
 (0)