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) {
|
||||
return {
|
||||
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: [],
|
||||
contractCompiles: [],
|
||||
contractLogs: [],
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
contractEvents: [],
|
||||
commands: [],
|
||||
>>>>>>> Add Contract Events to UI
|
||||
messages: [],
|
||||
messageChannels: [],
|
||||
versions: [],
|
||||
|
|
|
@ -643,9 +643,6 @@ class BlockchainConnector {
|
|||
this.contractsEvents.push(dataWithName);
|
||||
this.events.emit('blockchain:contracts:event', dataWithName);
|
||||
});
|
||||
eventEmitter.on('error', () => {
|
||||
console.log('error')
|
||||
})
|
||||
});
|
||||
callback();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue