MCPcopy Create free account
hub / github.com/antonnell/networklist-org / componentWillUnmount

Method componentWillUnmount

components/unlock/unlock.js:97–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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 })

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected