diff options
author | 2019-10-16 10:22:00 +0200 | |
---|---|---|
committer | 2019-10-16 10:22:00 +0200 | |
commit | ba578b8a6df8d31136fb170e78b70a71dad85e31 (patch) | |
tree | a8c980cc83e6014fd7befefd240b8364d40447d3 /src/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/containers')
-rw-r--r-- | src/containers/auth/PricingScreen.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/containers/auth/PricingScreen.js b/src/containers/auth/PricingScreen.js index 8e0ded16a..ff378bd8b 100644 --- a/src/containers/auth/PricingScreen.js +++ b/src/containers/auth/PricingScreen.js | |||
@@ -40,6 +40,15 @@ export default @inject('stores', 'actions') @observer class PricingScreen extend | |||
40 | const { getUserInfoRequest, activateTrialRequest } = stores.user; | 40 | const { getUserInfoRequest, activateTrialRequest } = stores.user; |
41 | const { featuresRequest, features } = stores.features; | 41 | const { featuresRequest, features } = stores.features; |
42 | 42 | ||
43 | const { pricingConfig } = features; | ||
44 | |||
45 | let currency = '$'; | ||
46 | let price = '5.99'; | ||
47 | if (pricingConfig) { | ||
48 | ({ currency } = pricingConfig); | ||
49 | ({ price } = pricingConfig.plans.pro.yearly); | ||
50 | } | ||
51 | |||
43 | return ( | 52 | return ( |
44 | <Pricing | 53 | <Pricing |
45 | onSubmit={this.submit.bind(this)} | 54 | onSubmit={this.submit.bind(this)} |
@@ -48,6 +57,8 @@ export default @inject('stores', 'actions') @observer class PricingScreen extend | |||
48 | trialActivationError={activateTrialRequest.isError} | 57 | trialActivationError={activateTrialRequest.isError} |
49 | canSkipTrial={features.canSkipTrial} | 58 | canSkipTrial={features.canSkipTrial} |
50 | error={error} | 59 | error={error} |
60 | currency={currency} | ||
61 | price={price} | ||
51 | /> | 62 | /> |
52 | ); | 63 | ); |
53 | } | 64 | } |