(parentType)
| 19471 | var ownerHasKeyUseWarning = {}; |
| 19472 | |
| 19473 | function getCurrentComponentErrorInfo(parentType) { |
| 19474 | var info = getDeclarationErrorAddendum(); |
| 19475 | |
| 19476 | if (!info) { |
| 19477 | var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name; |
| 19478 | if (parentName) { |
| 19479 | info = '\n\nCheck the top-level render call using <' + parentName + '>.'; |
| 19480 | } |
| 19481 | } |
| 19482 | return info; |
| 19483 | } |
| 19484 | |
| 19485 | /** |
| 19486 | * Warn if the element doesn't have an explicit key assigned to it. |
no test coverage detected