From fc28a677bc28314b3fa42695615d3aaa115e5a09 Mon Sep 17 00:00:00 2001 From: JiZhi <471695625@qq.com> Date: Tue, 26 Nov 2019 16:27:51 +0800 Subject: [PATCH] chore: fix warn typo (#496) --- packages/runtime-core/src/componentRenderUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/runtime-core/src/componentRenderUtils.ts b/packages/runtime-core/src/componentRenderUtils.ts index ed62cce2..9510d3cb 100644 --- a/packages/runtime-core/src/componentRenderUtils.ts +++ b/packages/runtime-core/src/componentRenderUtils.ts @@ -80,7 +80,7 @@ export function renderComponentRoot( } else if (__DEV__ && !accessedAttrs) { warn( `Extraneous non-props attributes (${Object.keys(attrs).join(',')}) ` + - `were passed to component but could not be automatically inhertied ` + + `were passed to component but could not be automatically inherited ` + `because component renders fragment or text root nodes.` ) }