mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Using correct metricsEvent arg (#13684)
This commit is contained in:
parent
3d5da527f9
commit
5b96e3370e
@ -33,9 +33,9 @@ export default class TypedMessageManager extends EventEmitter {
|
|||||||
*
|
*
|
||||||
* @param options
|
* @param options
|
||||||
* @param options.getCurrentChainId
|
* @param options.getCurrentChainId
|
||||||
* @param options.metricEvents
|
* @param options.metricsEvent
|
||||||
*/
|
*/
|
||||||
constructor({ getCurrentChainId, metricEvents }) {
|
constructor({ getCurrentChainId, metricsEvent }) {
|
||||||
super();
|
super();
|
||||||
this._getCurrentChainId = getCurrentChainId;
|
this._getCurrentChainId = getCurrentChainId;
|
||||||
this.memStore = new ObservableStore({
|
this.memStore = new ObservableStore({
|
||||||
@ -43,7 +43,7 @@ export default class TypedMessageManager extends EventEmitter {
|
|||||||
unapprovedTypedMessagesCount: 0,
|
unapprovedTypedMessagesCount: 0,
|
||||||
});
|
});
|
||||||
this.messages = [];
|
this.messages = [];
|
||||||
this.metricEvents = metricEvents;
|
this.metricsEvent = metricsEvent;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user