diff options
author | 2019-10-18 14:30:29 +0200 | |
---|---|---|
committer | 2019-10-18 14:30:29 +0200 | |
commit | 71b9e05d45bac8a592b859dbb707fe4ac8ff4ffd (patch) | |
tree | 4c79892793c19439067cd3571e1b61232b6190e9 | |
parent | share app version with webview (diff) | |
download | ferdium-app-71b9e05d45bac8a592b859dbb707fe4ac8ff4ffd.tar.gz ferdium-app-71b9e05d45bac8a592b859dbb707fe4ac8ff4ffd.tar.zst ferdium-app-71b9e05d45bac8a592b859dbb707fe4ac8ff4ffd.zip |
Fix name in pricing screen
-rw-r--r-- | src/components/auth/Pricing.js | 4 | ||||
-rw-r--r-- | src/containers/auth/PricingScreen.js | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/components/auth/Pricing.js b/src/components/auth/Pricing.js index 86b6a4263..53ae046a0 100644 --- a/src/components/auth/Pricing.js +++ b/src/components/auth/Pricing.js | |||
@@ -150,6 +150,7 @@ export default @observer @injectSheet(styles) class Signup extends Component { | |||
150 | classes: PropTypes.object.isRequired, | 150 | classes: PropTypes.object.isRequired, |
151 | currency: PropTypes.string.isRequired, | 151 | currency: PropTypes.string.isRequired, |
152 | price: PropTypes.number.isRequired, | 152 | price: PropTypes.number.isRequired, |
153 | name: PropTypes.string.isRequired, | ||
153 | }; | 154 | }; |
154 | 155 | ||
155 | static contextTypes = { | 156 | static contextTypes = { |
@@ -166,6 +167,7 @@ export default @observer @injectSheet(styles) class Signup extends Component { | |||
166 | classes, | 167 | classes, |
167 | currency, | 168 | currency, |
168 | price, | 169 | price, |
170 | name, | ||
169 | } = this.props; | 171 | } = this.props; |
170 | const { intl } = this.context; | 172 | const { intl } = this.context; |
171 | 173 | ||
@@ -182,7 +184,7 @@ export default @observer @injectSheet(styles) class Signup extends Component { | |||
182 | alt="" | 184 | alt="" |
183 | /> | 185 | /> |
184 | )} | 186 | )} |
185 | <h1>{intl.formatMessage(messages.headline, { name: 'Stefan' })}</h1> | 187 | <h1>{intl.formatMessage(messages.headline, { name })}</h1> |
186 | <div className="auth__letter"> | 188 | <div className="auth__letter"> |
187 | <p> | 189 | <p> |
188 | {intl.formatMessage(messages.specialTreat)} | 190 | {intl.formatMessage(messages.specialTreat)} |
diff --git a/src/containers/auth/PricingScreen.js b/src/containers/auth/PricingScreen.js index 55811ed23..21c859c12 100644 --- a/src/containers/auth/PricingScreen.js +++ b/src/containers/auth/PricingScreen.js | |||
@@ -42,7 +42,7 @@ export default @inject('stores', 'actions') @observer class PricingScreen extend | |||
42 | stores, | 42 | stores, |
43 | } = this.props; | 43 | } = this.props; |
44 | 44 | ||
45 | const { getUserInfoRequest, activateTrialRequest } = stores.user; | 45 | const { getUserInfoRequest, activateTrialRequest, data } = stores.user; |
46 | const { featuresRequest, features } = stores.features; | 46 | const { featuresRequest, features } = stores.features; |
47 | 47 | ||
48 | const { pricingConfig } = features; | 48 | const { pricingConfig } = features; |
@@ -64,6 +64,7 @@ export default @inject('stores', 'actions') @observer class PricingScreen extend | |||
64 | error={error} | 64 | error={error} |
65 | currency={currency} | 65 | currency={currency} |
66 | price={price} | 66 | price={price} |
67 | name={data.firstname} | ||
67 | /> | 68 | /> |
68 | ); | 69 | ); |
69 | } | 70 | } |