chore: fix warn typo (#496)

This commit is contained in:
JiZhi 2019-11-26 16:27:51 +08:00 committed by Eduardo San Martin Morote
parent d5f4cc9c42
commit fc28a677bc

View File

@ -80,7 +80,7 @@ export function renderComponentRoot(
} else if (__DEV__ && !accessedAttrs) { } else if (__DEV__ && !accessedAttrs) {
warn( warn(
`Extraneous non-props attributes (${Object.keys(attrs).join(',')}) ` + `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.` `because component renders fragment or text root nodes.`
) )
} }