()
| 95 | }; |
| 96 | |
| 97 | componentWillUnmount() { |
| 98 | stores.emitter.removeListener(CONNECTION_CONNECTED, this.connectionConnected); |
| 99 | stores.emitter.removeListener(CONNECTION_DISCONNECTED, this.connectionDisconnected); |
| 100 | stores.emitter.removeListener(ERROR, this.error); |
| 101 | }; |
| 102 | |
| 103 | error = (err) => { |
| 104 | this.setState({ loading: false, error: err }) |
nothing calls this directly
no outgoing calls
no test coverage detected