aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/serviceLimit
diff options
context:
space:
mode:
authorLibravatar vantezzen <properly@protonmail.com>2019-09-07 15:50:39 +0200
committerLibravatar vantezzen <properly@protonmail.com>2019-09-07 15:50:39 +0200
commitca7153dd6aac2983b02db3fa78d8021e76fc466a (patch)
tree3912542559837afa696b7f0fa3e4b10aff931b48 /src/features/serviceLimit
parentMerge branch 'master' of https://github.com/meetfranz/franz into franz-5.3.0 (diff)
downloadferdium-app-ca7153dd6aac2983b02db3fa78d8021e76fc466a.tar.gz
ferdium-app-ca7153dd6aac2983b02db3fa78d8021e76fc466a.tar.zst
ferdium-app-ca7153dd6aac2983b02db3fa78d8021e76fc466a.zip
Remove analytics
Diffstat (limited to 'src/features/serviceLimit')
-rw-r--r--src/features/serviceLimit/components/LimitReachedInfobox.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/features/serviceLimit/components/LimitReachedInfobox.js b/src/features/serviceLimit/components/LimitReachedInfobox.js
index 19285a4eb..83aec4c40 100644
--- a/src/features/serviceLimit/components/LimitReachedInfobox.js
+++ b/src/features/serviceLimit/components/LimitReachedInfobox.js
@@ -5,8 +5,6 @@ import { defineMessages, intlShape } from 'react-intl';
5import injectSheet from 'react-jss'; 5import injectSheet from 'react-jss';
6import { Infobox } from '@meetfranz/ui'; 6import { Infobox } from '@meetfranz/ui';
7 7
8import { gaEvent } from '../../../lib/analytics';
9
10const messages = defineMessages({ 8const messages = defineMessages({
11 limitReached: { 9 limitReached: {
12 id: 'feature.serviceLimit.limitReached', 10 id: 'feature.serviceLimit.limitReached',
@@ -67,7 +65,6 @@ class LimitReachedInfobox extends Component {
67 ctaLabel={intl.formatMessage(messages.action)} 65 ctaLabel={intl.formatMessage(messages.action)}
68 ctaOnClick={() => { 66 ctaOnClick={() => {
69 actions.ui.openSettings({ path: 'user' }); 67 actions.ui.openSettings({ path: 'user' });
70 gaEvent('Service Limit', 'upgrade', 'Upgrade account');
71 }} 68 }}
72 > 69 >
73 {intl.formatMessage(messages.limitReached, { amount: serviceLimit.serviceCount, limit: serviceLimit.serviceLimit })} 70 {intl.formatMessage(messages.limitReached, { amount: serviceLimit.serviceCount, limit: serviceLimit.serviceLimit })}