Using correct metricsEvent arg (#13684)

feature/default_network_editable
ryanml 3 years ago committed by GitHub
parent 3d5da527f9
commit 5b96e3370e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      app/scripts/lib/typed-message-manager.js

@ -33,9 +33,9 @@ export default class TypedMessageManager extends EventEmitter {
*
* @param options
* @param options.getCurrentChainId
* @param options.metricEvents
* @param options.metricsEvent
*/
constructor({ getCurrentChainId, metricEvents }) {
constructor({ getCurrentChainId, metricsEvent }) {
super();
this._getCurrentChainId = getCurrentChainId;
this.memStore = new ObservableStore({
@ -43,7 +43,7 @@ export default class TypedMessageManager extends EventEmitter {
unapprovedTypedMessagesCount: 0,
});
this.messages = [];
this.metricEvents = metricEvents;
this.metricsEvent = metricsEvent;
}
/**

Loading…
Cancel
Save