()
| 184 | } |
| 185 | |
| 186 | render() { |
| 187 | const { module, error } = state |
| 188 | |
| 189 | if (error) { |
| 190 | return ErrorComponent ? ( |
| 191 | <ErrorComponent {...this.props} error={error} /> |
| 192 | ) : null |
| 193 | } |
| 194 | |
| 195 | const Component = es6Resolve(module) |
| 196 | return Component ? ( |
| 197 | <Component {...this.props} /> |
| 198 | ) : LoadingComponent ? ( |
| 199 | <LoadingComponent {...this.props} /> |
| 200 | ) : null |
| 201 | } |
| 202 | } |
| 203 | } |
nothing calls this directly
no test coverage detected