From 5b96e3370e3795dfce28b38c68e0ed3e76b54abd Mon Sep 17 00:00:00 2001 From: ryanml Date: Mon, 21 Feb 2022 10:39:01 -0700 Subject: [PATCH] Using correct metricsEvent arg (#13684) --- app/scripts/lib/typed-message-manager.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/scripts/lib/typed-message-manager.js b/app/scripts/lib/typed-message-manager.js index c40cc075f..a0a22edb8 100644 --- a/app/scripts/lib/typed-message-manager.js +++ b/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; } /**