()
| 87 | } |
| 88 | |
| 89 | render() { |
| 90 | if (this.state.error) { |
| 91 | return ( |
| 92 | <InlineAlert variant="negative"> |
| 93 | <Heading>Error</Heading> |
| 94 | <Content>{this.state.error}</Content> |
| 95 | </InlineAlert> |
| 96 | ); |
| 97 | } |
| 98 | |
| 99 | return this.props.children; |
| 100 | } |
| 101 | } |
nothing calls this directly
no outgoing calls
no test coverage detected