(parentType)
| 20780 | var ownerHasKeyUseWarning = {}; |
| 20781 | |
| 20782 | function getCurrentComponentErrorInfo(parentType) { |
| 20783 | var info = getDeclarationErrorAddendum(); |
| 20784 | |
| 20785 | if (!info) { |
| 20786 | var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name; |
| 20787 | if (parentName) { |
| 20788 | info = '\n\nCheck the top-level render call using <' + parentName + '>.'; |
| 20789 | } |
| 20790 | } |
| 20791 | return info; |
| 20792 | } |
| 20793 | |
| 20794 | /** |
| 20795 | * Warn if the element doesn't have an explicit key assigned to it. |
no test coverage detected