From 728c3ea49ac0d7d5df11869a3c7ebf715e528330 Mon Sep 17 00:00:00 2001 From: vantezzen Date: Sat, 7 Sep 2019 15:53:51 +0200 Subject: Fix merge bugs --- src/components/ui/ActivateTrialButton/index.js | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'src/components/ui/ActivateTrialButton') 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 { }; handleCTAClick() { - const { actions, stores } = this.props; - const { hadSubscription } = stores.user.data; - // const { defaultTrialPlan } = stores.features.features; - - let label = ''; - if (!hadSubscription) { - // actions.user.activateTrial({ planId: defaultTrialPlan }); - - label = 'Start Trial'; - } else { - label = 'Upgrade Account'; - } + const { actions } = this.props; actions.ui.openSettings({ path: 'user' }); } -- cgit v1.2.3-70-g09d2