ZhangJan 9 gadi atpakaļ
vecāks
revīzija
be076173d0
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/core/vdom/create-component.js

+ 1 - 1
src/core/vdom/create-component.js

@@ -296,7 +296,7 @@ function extractProps (data: VNodeData, Ctor: Class<Component>, tag?: string): ?
         ) {
           tip(
             `Prop "${keyInLowerCase}" is passed to component ` +
-            `${formatComponentName(tag || Ctor)}, but the delared prop name is` +
+            `${formatComponentName(tag || Ctor)}, but the declared prop name is` +
             ` "${key}". ` +
             `Note that HTML attributes are case-insensitive and camelCased ` +
             `props need to use their kebab-case equivalents when using in-DOM ` +