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

Function onConnectionClicked

components/unlock/unlock.js:143–147  ·  view source on GitHub ↗
(currentConnector, name, setActivatingConnector, activate)

Source from the content-addressed store, hash-verified

141}
142
143function onConnectionClicked(currentConnector, name, setActivatingConnector, activate) {
144 const connectorsByName = stores.accountStore.getStore('connectorsByName')
145 setActivatingConnector(currentConnector);
146 activate(connectorsByName[name]);
147}
148
149function onDeactivateClicked(deactivate, connector) {
150 if(deactivate) {

Callers 1

unlock.jsFile · 0.85

Calls 1

getStoreMethod · 0.80

Tested by

no test coverage detected