Skip to content

Commit 68a3dfd

Browse files
committed
fix
1 parent 0e62ec2 commit 68a3dfd

File tree

1 file changed

+1
-1
lines changed
  • packages/svelte/src/compiler/phases/3-transform/client/visitors/shared

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ export function build_component(node, component_name, context, anchor = context.
219219

220220
const assignment = b.assignment(
221221
'=',
222-
/** @type {Pattern} */ (expression),
222+
/** @type {Pattern} */ (attribute.expression),
223223
b.id('$$value')
224224
);
225225
push_prop(

0 commit comments

Comments
 (0)