]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore(runtime-core): remove unnecessary variables (#2680)
authoredison <daiwei521@126.com>
Fri, 5 Feb 2021 19:06:50 +0000 (03:06 +0800)
committerGitHub <noreply@github.com>
Fri, 5 Feb 2021 19:06:50 +0000 (20:06 +0100)
packages/runtime-core/src/apiAsyncComponent.ts

index 9efa728f19a221ab11b51d79766220f1de9ffdf9..4da00504329c0a44912cef1ed4f92e5252cd7fba 100644 (file)
@@ -47,8 +47,8 @@ export function defineAsyncComponent<
 
   const {
     loader,
-    loadingComponent: loadingComponent,
-    errorComponent: errorComponent,
+    loadingComponent,
+    errorComponent,
     delay = 200,
     timeout, // undefined = never times out
     suspensible = true,