aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ui/ActivateTrialButton/index.js
diff options
context:
space:
mode:
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 }