WIP: Arabic localization.

This commit is contained in:
a.bouhuolia
2021-06-22 12:11:55 +02:00
parent 0a276ca5e0
commit 87c903d0f3
22 changed files with 215 additions and 115 deletions

View File

@@ -1,5 +1,5 @@
import React from 'react';
import { FastField } from 'formik';
import { FastField, Field } from 'formik';
import BillingPlan from './BillingPlan';
import withPlans from './withPlans';
@@ -16,7 +16,7 @@ function BillingPlans({ plans, title, description, selectedOption }) {
<p className="paragraph">{description}</p>
</div>
<FastField name={'plan_slug'}>
<Field name={'plan_slug'}>
{({ form: { setFieldValue }, field: { value } }) => (
<div className={'plan-radios'}>
{plans.map((plan) => (
@@ -33,7 +33,7 @@ function BillingPlans({ plans, title, description, selectedOption }) {
))}
</div>
)}
</FastField>
</Field>
</section>
);
}