aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/delayApp/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/delayApp/index.js')
-rw-r--r--src/features/delayApp/index.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/features/delayApp/index.js b/src/features/delayApp/index.js
index 5b28fb7c8..51bd887a2 100644
--- a/src/features/delayApp/index.js
+++ b/src/features/delayApp/index.js
@@ -3,10 +3,9 @@ import moment from 'moment';
3import DelayAppComponent from './Component'; 3import DelayAppComponent from './Component';
4 4
5import { DEFAULT_FEATURES_CONFIG } from '../../config'; 5import { DEFAULT_FEATURES_CONFIG } from '../../config';
6import { gaEvent, gaPage } from '../../lib/analytics';
7import { getUserWorkspacesRequest } from '../workspaces/api'; 6import { getUserWorkspacesRequest } from '../workspaces/api';
8 7
9const debug = require('debug')('Franz:feature:delayApp'); 8const debug = require('debug')('Ferdi:feature:delayApp');
10 9
11export const config = { 10export const config = {
12 delayOffset: DEFAULT_FEATURES_CONFIG.needToWaitToProceedConfig.delayOffset, 11 delayOffset: DEFAULT_FEATURES_CONFIG.needToWaitToProceedConfig.delayOffset,
@@ -29,7 +28,7 @@ export default function init(stores) {
29 let shownAfterLaunch = false; 28 let shownAfterLaunch = false;
30 let timeLastDelay = moment(); 29 let timeLastDelay = moment();
31 30
32 window.franz.features.delayApp = { 31 window.ferdi.features.delayApp = {
33 state, 32 state,
34 }; 33 };
35 34
@@ -64,8 +63,6 @@ export default function init(stores) {
64 debug(`App will be delayed for ${config.delayDuration / 1000}s`); 63 debug(`App will be delayed for ${config.delayDuration / 1000}s`);
65 64
66 setVisibility(true); 65 setVisibility(true);
67 gaPage('/delayApp');
68 gaEvent('DelayApp', 'show', 'Delay App Feature');
69 66
70 67
71 setTimeout(() => { 68 setTimeout(() => {