()
| 65 | } |
| 66 | |
| 67 | render() { |
| 68 | const { |
| 69 | loadingElement, |
| 70 | googleMapURL, // eslint-disable-line no-unused-vars |
| 71 | ...restProps |
| 72 | } = this.props |
| 73 | |
| 74 | const { loadingState } = this.state |
| 75 | |
| 76 | if (loadingState === LOADING_STATE_LOADED) { |
| 77 | return factory(restProps) |
| 78 | } else { |
| 79 | return loadingElement |
| 80 | } |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | return Container |
nothing calls this directly
no outgoing calls
no test coverage detected