(parentType)
| 2127 | var ownerHasKeyUseWarning = {}; |
| 2128 | |
| 2129 | function getCurrentComponentErrorInfo(parentType) { |
| 2130 | var info = getDeclarationErrorAddendum(); |
| 2131 | |
| 2132 | if (!info) { |
| 2133 | var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name; |
| 2134 | |
| 2135 | if (parentName) { |
| 2136 | info = "\n\nCheck the top-level render call using <" + parentName + ">."; |
| 2137 | } |
| 2138 | } |
| 2139 | |
| 2140 | return info; |
| 2141 | } |
| 2142 | /** |
| 2143 | * Warn if the element doesn't have an explicit key assigned to it. |
| 2144 | * This element is in an array. The array could grow and shrink or be |
no test coverage detected
searching dependent graphs…