committed by
Jaco Greeff
parent
9f6da3f829
commit
037a8c7625
@@ -87,7 +87,7 @@ class Contract extends Component {
|
||||
const { api } = this.context;
|
||||
const { subscriptionId, blockSubscriptionId, contract } = this.state;
|
||||
|
||||
api.unsubscribe('eth_blockNumber', blockSubscriptionId);
|
||||
api.unsubscribe(blockSubscriptionId);
|
||||
contract.unsubscribe(subscriptionId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user