()
| 313 | } |
| 314 | |
| 315 | render() { |
| 316 | const { pkg, project } = this.props |
| 317 | if (this.state.hasError) { |
| 318 | return ( |
| 319 | <div> |
| 320 | <h2>Error!</h2> |
| 321 | <p>{this.state.error.toString()}</p> |
| 322 | <button onClick={this.resetErrors}>Try again</button> |
| 323 | </div> |
| 324 | ) |
| 325 | } |
| 326 | return ( |
| 327 | <DocumentNodeComponent |
| 328 | project={project} |
| 329 | pkg={pkg} |
| 330 | frameScheme={this.props.frameScheme} |
| 331 | frameDomain={this.props.frameDomain} |
| 332 | /> |
| 333 | ) |
| 334 | } |
| 335 | } |
nothing calls this directly
no outgoing calls
no test coverage detected