]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore(compiler-core): fix typo in transformElement (#4649) [ci skip]
authorZiwen Mei <67939848+Rudeus3Greyrat@users.noreply.github.com>
Wed, 22 Sep 2021 14:12:52 +0000 (22:12 +0800)
committerGitHub <noreply@github.com>
Wed, 22 Sep 2021 14:12:52 +0000 (10:12 -0400)
packages/compiler-core/src/transforms/transformElement.ts

index 220db858a63cba0ef815545c0710633e38383178..d383e922dd5b0af9615b5bd3b781268aeaca1f1a 100644 (file)
@@ -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(