File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -107,10 +107,11 @@ export const AccessibilityStatementPage = () => {
107
107
< ItemBulletList
108
108
key = { `items-${ i } ` }
109
109
item = { translateAccessibility ( `content.caveats.${ i } .name` ) }
110
- bulletPoints = { translateAccessibility (
111
- `content.caveats.${ i } .points` ,
112
- { returnObjects : true } ,
113
- ) }
110
+ bulletPoints = {
111
+ translateAccessibility ( `content.caveats.${ i } .points` , {
112
+ returnObjects : true ,
113
+ } ) as Array < string >
114
+ }
114
115
/>
115
116
) ) }
116
117
</ ul >
Original file line number Diff line number Diff line change @@ -110,10 +110,11 @@ export const AccessibilityStatementPage = () => {
110
110
< ItemBulletList
111
111
key = { `items-${ i } ` }
112
112
item = { translateAccessibility ( `content.caveats.${ i } .name` ) }
113
- bulletPoints = { translateAccessibility (
114
- `content.caveats.${ i } .points` ,
115
- { returnObjects : true } ,
116
- ) }
113
+ bulletPoints = {
114
+ translateAccessibility ( `content.caveats.${ i } .points` , {
115
+ returnObjects : true ,
116
+ } ) as Array < string >
117
+ }
117
118
/>
118
119
) ) }
119
120
</ ul >
You can’t perform that action at this time.
0 commit comments