diff options
Diffstat (limited to 'src/features/planSelection/containers/PlanSelectionScreen.js')
-rw-r--r-- | src/features/planSelection/containers/PlanSelectionScreen.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/features/planSelection/containers/PlanSelectionScreen.js b/src/features/planSelection/containers/PlanSelectionScreen.js index 01b357861..dff9051d8 100644 --- a/src/features/planSelection/containers/PlanSelectionScreen.js +++ b/src/features/planSelection/containers/PlanSelectionScreen.js | |||
@@ -43,15 +43,12 @@ class PlanSelectionScreen extends Component { | |||
43 | } | 43 | } |
44 | 44 | ||
45 | upgradeAccount(planId) { | 45 | upgradeAccount(planId) { |
46 | const { user, features } = this.props.stores; | ||
47 | const { upgradeAccount, hideOverlay } = this.props.actions.planSelection; | 46 | const { upgradeAccount, hideOverlay } = this.props.actions.planSelection; |
48 | 47 | ||
49 | upgradeAccount({ | 48 | upgradeAccount({ |
50 | planId, | 49 | planId, |
51 | onCloseWindow: () => { | 50 | onCloseWindow: () => { |
52 | hideOverlay(); | 51 | hideOverlay(); |
53 | user.getUserInfoRequest.invalidate({ immediately: true }); | ||
54 | features.featuresRequest.invalidate({ immediately: true }); | ||
55 | }, | 52 | }, |
56 | }); | 53 | }); |
57 | } | 54 | } |
@@ -68,17 +65,6 @@ class PlanSelectionScreen extends Component { | |||
68 | const { activateTrial } = this.props.actions.user; | 65 | const { activateTrial } = this.props.actions.user; |
69 | const { upgradeAccount, downgradeAccount, hideOverlay } = this.props.actions.planSelection; | 66 | const { upgradeAccount, downgradeAccount, hideOverlay } = this.props.actions.planSelection; |
70 | 67 | ||
71 | // const planConfig = [{ | ||
72 | // id: 'free', | ||
73 | // price: 0, | ||
74 | // }, { | ||
75 | // id: plans.personal.yearly.id, | ||
76 | // price: plans.personal.yearly.price, | ||
77 | // }, { | ||
78 | // id: plans.pro.yearly.id, | ||
79 | // price: plans.pro.yearly.price, | ||
80 | // }]; | ||
81 | |||
82 | return ( | 68 | return ( |
83 | <ErrorBoundary> | 69 | <ErrorBoundary> |
84 | <PlanSelection | 70 | <PlanSelection |