Skip to content

Commit 25cd6f3

Browse files
committed
fix
1 parent 704de0d commit 25cd6f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function build_assignment(operator, left, right, context) {
4242
);
4343

4444
if (
45-
private_state.kind !== 'raw_state' &&
45+
private_state.kind === 'state' &&
4646
['=', '||=', '&&=', '??='].includes(operator) &&
4747
should_proxy(value, context.state.scope)
4848
) {

0 commit comments

Comments
 (0)