(returnFiber)
| 13134 | } |
| 13135 | |
| 13136 | function warnOnFunctionType(returnFiber) { |
| 13137 | { |
| 13138 | var componentName = getComponentNameFromFiber(returnFiber) || 'Component'; |
| 13139 | |
| 13140 | if (ownerHasFunctionTypeWarning[componentName]) { |
| 13141 | return; |
| 13142 | } |
| 13143 | |
| 13144 | ownerHasFunctionTypeWarning[componentName] = true; |
| 13145 | |
| 13146 | error('Functions are not valid as a React child. This may happen if ' + 'you return a Component instead of <Component /> from render. ' + 'Or maybe you meant to call this function rather than return it.'); |
| 13147 | } |
| 13148 | } |
| 13149 | |
| 13150 | function resolveLazy(lazyType) { |
| 13151 | var payload = lazyType._payload; |
no test coverage detected
searching dependent graphs…