@@ -37,7 +37,7 @@ const PureForm = ({ defaultValues, onSubmit, onDelete }: PureFormProps) => {
37
37
control = { control }
38
38
name = "configName"
39
39
label = "Configuration name"
40
- helperText = " Meaningful name that will help you understand it later. E .g. ' staging' or ' prod' "
40
+ helperText = { ` Meaningful name that will help you understand it later, e .g. " staging" or " prod".` }
41
41
/>
42
42
43
43
< Box display = { "grid" } gap = { 4 } marginY = { 4 } >
@@ -47,14 +47,14 @@ const PureForm = ({ defaultValues, onSubmit, onDelete }: PureFormProps) => {
47
47
control = { control }
48
48
name = "authToken"
49
49
label = "Auth token"
50
- helperText = "Token with full permissions for the content type you want Saleor to store product."
50
+ helperText = "Token with full permissions for the content type you want Saleor to store product in ."
51
51
/>
52
52
< Input
53
53
required
54
54
control = { control }
55
55
name = "url"
56
56
label = "API Url"
57
- helperText = " Base api URL, usually without /api suffix"
57
+ helperText = { ` Base API URL, usually without the " /api" suffix.` }
58
58
placeholder = "https://your-strapi-url.com"
59
59
/>
60
60
</ Box >
@@ -65,15 +65,15 @@ const PureForm = ({ defaultValues, onSubmit, onDelete }: PureFormProps) => {
65
65
name = "itemType"
66
66
control = { control }
67
67
placeholder = "saleor-products"
68
- helperText = " Plural name of the content type you want Saleor to send product to. E .g. ' products' or ' product-variants'"
68
+ helperText = { ` Plural name of the content type you want Saleor to send product to, e .g. " products" or " product-variants".` }
69
69
/>
70
70
71
71
< Text as = "p" variant = "heading" size = "small" >
72
- Map fields from Saleor to your Strapi schema.
72
+ Map fields from Saleor to your Strapi schema
73
73
</ Text >
74
74
< Text as = "p" marginTop = { 2 } marginBottom = { 4 } >
75
- All fields should be type of < Text variant = "bodyStrong" > Text</ Text > . Channels should be
76
- type of < Text variant = "bodyStrong" > JSON</ Text > .
75
+ All fields should be of type < Text variant = "bodyStrong" > Text</ Text > . Channels should be of
76
+ type < Text variant = "bodyStrong" > JSON</ Text > .
77
77
</ Text >
78
78
< Box
79
79
marginBottom = { 4 }
@@ -85,7 +85,7 @@ const PureForm = ({ defaultValues, onSubmit, onDelete }: PureFormProps) => {
85
85
padding = { 2 }
86
86
>
87
87
< Text variant = "caption" > Saleor Field</ Text >
88
- < Text variant = "caption" > Strapi field </ Text >
88
+ < Text variant = "caption" > Strapi Field </ Text >
89
89
</ Box >
90
90
{ SaleorProviderFieldsMappingKeys . map ( ( saleorField ) => (
91
91
// todo extract this table to component
0 commit comments