(parentType)
| 18669 | var ownerHasKeyUseWarning = {}; |
| 18670 | |
| 18671 | function getCurrentComponentErrorInfo(parentType) { |
| 18672 | var info = getDeclarationErrorAddendum(); |
| 18673 | |
| 18674 | if (!info) { |
| 18675 | var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name; |
| 18676 | if (parentName) { |
| 18677 | info = '\n\nCheck the top-level render call using <' + parentName + '>.'; |
| 18678 | } |
| 18679 | } |
| 18680 | return info; |
| 18681 | } |
| 18682 | |
| 18683 | /** |
| 18684 | * Warn if the element doesn't have an explicit key assigned to it. |
no test coverage detected