From a7390d8208a42ab78dd7a25ec16aeb3d37fd3a1b Mon Sep 17 00:00:00 2001 From: Isaac Date: Thu, 16 Aug 2018 13:24:45 -0700 Subject: [PATCH] Diagnostics bugFix (#1065) * flatMap * Dummy comment to retrigger build --- src/store/reducers/appReducer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/reducers/appReducer.js b/src/store/reducers/appReducer.js index 6abd165a7..b8713cf2e 100644 --- a/src/store/reducers/appReducer.js +++ b/src/store/reducers/appReducer.js @@ -45,8 +45,8 @@ export const epics = createEpicScenario({ if (diagnosticsOptIn) { return DiagnosticsService.logEvent(payload) /* We don't want anymore action to be executed after this call - and hence return empty observable */ - .map(_ => Observable.empty()) + and hence return empty observable in flatMap */ + .flatMap(_ => Observable.empty()) .catch(_ => Observable.empty()) } else { return Observable.empty()