From 72a412589d01c8dd643bf44bcda07c2dbc4f46fc Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 15 Aug 2017 15:52:38 +0100 Subject: [PATCH] Fix vector-im/riot-web#4799 regression by fixing fn signature Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/Modal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Modal.js b/src/Modal.js index 79fcaaefd1..056b6d8bf2 100644 --- a/src/Modal.js +++ b/src/Modal.js @@ -112,8 +112,8 @@ class ModalManager { return this.createDialogAsync((cb) => {cb(Element);}, props, className); } - createTrackedDialogAsync(analyticsId, loader, props, className) { - Analytics.trackEvent('Modal', analyticsId); + createTrackedDialogAsync(analyticsAction, analyticsInfo, loader, props, className) { + Analytics.trackEvent('Modal', analyticsAction, analyticsInfo); return this.createDialogAsync(loader, props, className); }