name bug
parent
a24153ca70
commit
dcbd240cf4
|
@ -190,6 +190,7 @@
|
|||
"title": "Ausgewähltes Produkt",
|
||||
"products": [
|
||||
{
|
||||
"name": "Basic",
|
||||
"price": "9,99 € / Monat",
|
||||
"featuresCount": 9,
|
||||
"features": [
|
||||
|
@ -205,6 +206,7 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"name": "Premium",
|
||||
"price": "24,99 € / Monat",
|
||||
"featuresCount": 13,
|
||||
"features": [
|
||||
|
|
|
@ -190,6 +190,7 @@
|
|||
"title": "Choosen product",
|
||||
"products": [
|
||||
{
|
||||
"name": "Basic",
|
||||
"price": "9,99 € / month",
|
||||
"featuresCount": 9,
|
||||
"features": [
|
||||
|
@ -205,6 +206,7 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"name": "Premium",
|
||||
"price": "24,99 € / month",
|
||||
"featuresCount": 13,
|
||||
"features": [
|
||||
|
|
|
@ -43,7 +43,7 @@ export function AuthenticationRoutes() {
|
|||
path={`${Constants.ROUTE_PATHS.AUTHENTICATION.SIGN_UP}/basic`}
|
||||
element={
|
||||
<MySupsenseFallback>
|
||||
<SignUp paymentPlan={1} />
|
||||
<SignUp paymentPlan={0} />
|
||||
</MySupsenseFallback>
|
||||
}
|
||||
/>
|
||||
|
@ -52,7 +52,7 @@ export function AuthenticationRoutes() {
|
|||
path={`${Constants.ROUTE_PATHS.AUTHENTICATION.SIGN_UP}/premium`}
|
||||
element={
|
||||
<MySupsenseFallback>
|
||||
<SignUp paymentPlan={2} />
|
||||
<SignUp paymentPlan={1} />
|
||||
</MySupsenseFallback>
|
||||
}
|
||||
/>
|
||||
|
|
|
@ -132,10 +132,6 @@ function AccountDetails({ t, form }) {
|
|||
}
|
||||
|
||||
export function ChoosenProduct({ t, paymentPlan, extra }) {
|
||||
const appContext = useAppContext();
|
||||
|
||||
console.log(appContext.paymentPlanSettings);
|
||||
|
||||
return (
|
||||
<Card
|
||||
title={t("authentication.signUp.choosenProduct.title")}
|
||||
|
@ -143,7 +139,8 @@ export function ChoosenProduct({ t, paymentPlan, extra }) {
|
|||
extra={extra}
|
||||
>
|
||||
<Typography.Title level={2}>
|
||||
{Constants.APP_NAME} - {appContext.paymentPlanSettings.name}
|
||||
{Constants.APP_NAME} -{" "}
|
||||
{t(`authentication.signUp.choosenProduct.products.${paymentPlan}.name`)}
|
||||
</Typography.Title>
|
||||
<Divider />
|
||||
|
||||
|
@ -296,7 +293,10 @@ function CostSummary({ notificationApi, paymentPlan, form }) {
|
|||
marginBottom: 12,
|
||||
}}
|
||||
>
|
||||
{Constants.APP_NAME} - {appContext.paymentPlanSettings.name}
|
||||
{Constants.APP_NAME} -{" "}
|
||||
{t(
|
||||
`authentication.signUp.choosenProduct.products.${paymentPlan}.name`
|
||||
)}
|
||||
</div>
|
||||
<Flex justify="space-between">
|
||||
<Typography.Text style={{ fontSize: 16 }}>
|
||||
|
|
Loading…
Reference in New Issue