()
| 2089 | } |
| 2090 | |
| 2091 | function getDeclarationErrorAddendum() { |
| 2092 | if (ReactCurrentOwner.current) { |
| 2093 | var name = getComponentNameFromType(ReactCurrentOwner.current.type); |
| 2094 | |
| 2095 | if (name) { |
| 2096 | return '\n\nCheck the render method of `' + name + '`.'; |
| 2097 | } |
| 2098 | } |
| 2099 | |
| 2100 | return ''; |
| 2101 | } |
| 2102 | |
| 2103 | function getSourceInfoErrorAddendum(source) { |
| 2104 | if (source !== undefined) { |
no test coverage detected
searching dependent graphs…