mirror of https://github.com/embarklabs/embark.git
Remove uneeded handler
This commit is contained in:
parent
2d287c43f3
commit
6e24b0eb85
|
@ -34,7 +34,7 @@ class ContractLoggerContainer extends Component {
|
||||||
function mapStateToProps(state, props) {
|
function mapStateToProps(state, props) {
|
||||||
return {
|
return {
|
||||||
contractLogs: getContractLogsByContract(state, props.contract.className),
|
contractLogs: getContractLogsByContract(state, props.contract.className),
|
||||||
contractEvents: getContractEventsByContract(state, props.match.params.contractName)
|
contractEvents: getContractEventsByContract(state, props.contract.className)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -21,11 +21,7 @@ const entitiesDefaultState = {
|
||||||
contractDeploys: [],
|
contractDeploys: [],
|
||||||
contractCompiles: [],
|
contractCompiles: [],
|
||||||
contractLogs: [],
|
contractLogs: [],
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
contractEvents: [],
|
contractEvents: [],
|
||||||
commands: [],
|
|
||||||
>>>>>>> Add Contract Events to UI
|
|
||||||
messages: [],
|
messages: [],
|
||||||
messageChannels: [],
|
messageChannels: [],
|
||||||
versions: [],
|
versions: [],
|
||||||
|
|
|
@ -643,9 +643,6 @@ class BlockchainConnector {
|
||||||
this.contractsEvents.push(dataWithName);
|
this.contractsEvents.push(dataWithName);
|
||||||
this.events.emit('blockchain:contracts:event', dataWithName);
|
this.events.emit('blockchain:contracts:event', dataWithName);
|
||||||
});
|
});
|
||||||
eventEmitter.on('error', () => {
|
|
||||||
console.log('error')
|
|
||||||
})
|
|
||||||
});
|
});
|
||||||
callback();
|
callback();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue