Skip to content

Commit

Permalink
chore(compiler-core): fix typo in transformElement (#4649) [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudeus3Greyrat committed Sep 22, 2021
1 parent bf267b1 commit 1873f0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compiler-core/src/transforms/transformElement.ts
Expand Up @@ -472,7 +472,7 @@ export function buildProps(
hasRef = true
// in inline mode there is no setupState object, so we can't use string
// keys to set the ref. Instead, we need to transform it to pass the
// acrtual ref instead.
// actual ref instead.
if (!__BROWSER__ && context.inline && value?.content) {
valueNode = createFunctionExpression(['_value', '_refs'])
valueNode.body = createBlockStatement(
Expand Down

0 comments on commit 1873f0f

Please sign in to comment.