chore: fix warn typo (#496)
This commit is contained in:
parent
d5f4cc9c42
commit
fc28a677bc
@ -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.`
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user