(parentType)
| 1767 | var ownerHasKeyUseWarning = {}; |
| 1768 | |
| 1769 | function getCurrentComponentErrorInfo(parentType) { |
| 1770 | var info = getDeclarationErrorAddendum(); |
| 1771 | |
| 1772 | if (!info) { |
| 1773 | var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name; |
| 1774 | |
| 1775 | if (parentName) { |
| 1776 | info = "\n\nCheck the top-level render call using <" + parentName + ">."; |
| 1777 | } |
| 1778 | } |
| 1779 | |
| 1780 | return info; |
| 1781 | } |
| 1782 | /** |
| 1783 | * Warn if the element doesn't have an explicit key assigned to it. |
| 1784 | * This element is in an array. The array could grow and shrink or be |
no test coverage detected
searching dependent graphs…