(parentType)
| 19574 | var ownerHasKeyUseWarning = {}; |
| 19575 | |
| 19576 | function getCurrentComponentErrorInfo(parentType) { |
| 19577 | var info = getDeclarationErrorAddendum(); |
| 19578 | |
| 19579 | if (!info) { |
| 19580 | var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name; |
| 19581 | if (parentName) { |
| 19582 | info = '\n\nCheck the top-level render call using <' + parentName + '>.'; |
| 19583 | } |
| 19584 | } |
| 19585 | return info; |
| 19586 | } |
| 19587 | |
| 19588 | /** |
| 19589 | * Warn if the element doesn't have an explicit key assigned to it. |
no test coverage detected