aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ui/ActivateTrialButton/index.js
diff options
context:
space:
mode:
authorLibravatar vantezzen <properly@protonmail.com>2019-09-07 15:53:51 +0200
committerLibravatar vantezzen <properly@protonmail.com>2019-09-07 15:53:51 +0200
commit728c3ea49ac0d7d5df11869a3c7ebf715e528330 (patch)
tree024b015eeee6783bb260d6104bc69ad83f1666ec /src/components/ui/ActivateTrialButton/index.js
parentRemove analytics (diff)
downloadferdium-app-728c3ea49ac0d7d5df11869a3c7ebf715e528330.tar.gz
ferdium-app-728c3ea49ac0d7d5df11869a3c7ebf715e528330.tar.zst
ferdium-app-728c3ea49ac0d7d5df11869a3c7ebf715e528330.zip
Fix merge bugs
Diffstat (limited to 'src/components/ui/ActivateTrialButton/index.js')
-rw-r--r--src/components/ui/ActivateTrialButton/index.js13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/components/ui/ActivateTrialButton/index.js b/src/components/ui/ActivateTrialButton/index.js
index a9d9be75a..340123c2f 100644
--- a/src/components/ui/ActivateTrialButton/index.js
+++ b/src/components/ui/ActivateTrialButton/index.js
@@ -62,18 +62,7 @@ class ActivateTrialButton extends Component {
62 }; 62 };
63 63
64 handleCTAClick() { 64 handleCTAClick() {
65 const { actions, stores } = this.props; 65 const { actions } = this.props;
66 const { hadSubscription } = stores.user.data;
67 // const { defaultTrialPlan } = stores.features.features;
68
69 let label = '';
70 if (!hadSubscription) {
71 // actions.user.activateTrial({ planId: defaultTrialPlan });
72
73 label = 'Start Trial';
74 } else {
75 label = 'Upgrade Account';
76 }
77 66
78 actions.ui.openSettings({ path: 'user' }); 67 actions.ui.openSettings({ path: 'user' });
79 } 68 }