diff options
author | vantezzen <properly@protonmail.com> | 2019-08-21 09:39:39 +0200 |
---|---|---|
committer | vantezzen <properly@protonmail.com> | 2019-08-21 09:39:39 +0200 |
commit | c4768a221f93d534f4d0454414cdf073af8a2356 (patch) | |
tree | 77fdf9eb3cbfa72c8fe40e45c88af61299004609 /src/components/ui | |
parent | Update dev-app-update.yml (diff) | |
download | ferdium-app-c4768a221f93d534f4d0454414cdf073af8a2356.tar.gz ferdium-app-c4768a221f93d534f4d0454414cdf073af8a2356.tar.zst ferdium-app-c4768a221f93d534f4d0454414cdf073af8a2356.zip |
Remove analytics
Diffstat (limited to 'src/components/ui')
-rw-r--r-- | src/components/ui/PremiumFeatureContainer/index.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/components/ui/PremiumFeatureContainer/index.js b/src/components/ui/PremiumFeatureContainer/index.js index 3c1e0fac3..08553b32a 100644 --- a/src/components/ui/PremiumFeatureContainer/index.js +++ b/src/components/ui/PremiumFeatureContainer/index.js | |||
@@ -9,7 +9,6 @@ import { oneOrManyChildElements } from '../../../prop-types'; | |||
9 | import UserStore from '../../../stores/UserStore'; | 9 | import UserStore from '../../../stores/UserStore'; |
10 | 10 | ||
11 | import styles from './styles'; | 11 | import styles from './styles'; |
12 | import { gaEvent } from '../../../lib/analytics'; | ||
13 | 12 | ||
14 | const messages = defineMessages({ | 13 | const messages = defineMessages({ |
15 | action: { | 14 | action: { |
@@ -60,10 +59,6 @@ class PremiumFeatureContainer extends Component { | |||
60 | type="button" | 59 | type="button" |
61 | onClick={() => { | 60 | onClick={() => { |
62 | actions.ui.openSettings({ path: 'user' }); | 61 | actions.ui.openSettings({ path: 'user' }); |
63 | if (gaEventInfo) { | ||
64 | const { category, event, label } = gaEventInfo; | ||
65 | gaEvent(category, event, label); | ||
66 | } | ||
67 | }} | 62 | }} |
68 | > | 63 | > |
69 | {intl.formatMessage(messages.action)} | 64 | {intl.formatMessage(messages.action)} |