(parentType)
| 19436 | var ownerHasKeyUseWarning = {}; |
| 19437 | |
| 19438 | function getCurrentComponentErrorInfo(parentType) { |
| 19439 | var info = getDeclarationErrorAddendum(); |
| 19440 | |
| 19441 | if (!info) { |
| 19442 | var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name; |
| 19443 | if (parentName) { |
| 19444 | info = '\n\nCheck the top-level render call using <' + parentName + '>.'; |
| 19445 | } |
| 19446 | } |
| 19447 | return info; |
| 19448 | } |
| 19449 | |
| 19450 | /** |
| 19451 | * Warn if the element doesn't have an explicit key assigned to it. |
no test coverage detected