diff options
author | Stefan Malzner <stefan@adlk.io> | 2019-10-16 10:22:00 +0200 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2019-10-16 10:22:00 +0200 |
commit | ba578b8a6df8d31136fb170e78b70a71dad85e31 (patch) | |
tree | a8c980cc83e6014fd7befefd240b8364d40447d3 /src/features/planSelection/containers | |
parent | plan selection polishing (diff) | |
download | ferdium-app-ba578b8a6df8d31136fb170e78b70a71dad85e31.tar.gz ferdium-app-ba578b8a6df8d31136fb170e78b70a71dad85e31.tar.zst ferdium-app-ba578b8a6df8d31136fb170e78b70a71dad85e31.zip |
polishing
Diffstat (limited to 'src/features/planSelection/containers')
-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 |