()
| 24 | } |
| 25 | |
| 26 | render() { |
| 27 | if (this.state.hasError) { |
| 28 | // You can render any custom fallback UI |
| 29 | return <h1>Something went wrong.</h1>; |
| 30 | } |
| 31 | |
| 32 | return this.props.children; |
| 33 | } |
| 34 | } |
nothing calls this directly
no outgoing calls
no test coverage detected