Skip to content

Commit

Permalink
refactor(compiler-core): edit comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadim Kruglov committed May 20, 2024
1 parent 795ecc4 commit 9043262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compiler-core/src/transforms/vFor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const transformFor = createStructuralDirectiveTransform(
const memo = findDir(node, 'memo')
const keyProp = findProp(node, `key`, false, true)
if (keyProp && keyProp.type === NodeTypes.DIRECTIVE && !keyProp.exp) {
// try to resolve :key shorthand #10882
// resolve :key shorthand #10882
transformBindShorthand(keyProp, context)
}
const keyExp =
Expand Down

0 comments on commit 9043262

Please sign in to comment.