This repository was archived by the owner on May 7, 2021. It is now read-only.
File tree 1 file changed +20
-20
lines changed 1 file changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -150,29 +150,29 @@ const impactSummary = client => {
150
150
howWereYouAffected . push ( otherImpact )
151
151
}
152
152
return (
153
- < React . Fragment >
154
- < SectionHeader >
155
- < Trans > Impact </ Trans > { ' ' }
156
- < I18n >
157
- { ( { i18n } ) => (
153
+ < I18n >
154
+ { ( { i18n } ) => (
155
+ < >
156
+ < SectionHeader >
157
+ < Trans > Impact </ Trans > { ' ' }
158
158
< EditButton aria-label = { i18n . _ ( 'Edit impact' ) } to = "/p2/impact" />
159
+ </ SectionHeader >
160
+ { howWereYouAffected . length > 0 || damage != '' ? (
161
+ < >
162
+ < Text > { howWereYouAffected . map ( i => i18n . _ ( i ) ) . join ( ', ' ) } </ Text >
163
+ < Text > { damage } </ Text >
164
+ </ >
165
+ ) : (
166
+ < Text >
167
+ < Trans >
168
+ Tell us how the scam impacted you so that we can better support
169
+ other people who are affected.
170
+ </ Trans >
171
+ </ Text >
159
172
) }
160
- </ I18n >
161
- </ SectionHeader >
162
- { howWereYouAffected . length > 0 || damage != '' ? (
163
- < React . Fragment >
164
- < Text > { howWereYouAffected . join ( ', ' ) } </ Text >
165
- < Text > { damage } </ Text >
166
- </ React . Fragment >
167
- ) : (
168
- < Text >
169
- < Trans >
170
- Tell us how the scam impacted you so that we can better support
171
- other people who are affected.
172
- </ Trans >
173
- </ Text >
173
+ </ >
174
174
) }
175
- </ React . Fragment >
175
+ </ I18n >
176
176
)
177
177
}
178
178
You can’t perform that action at this time.
0 commit comments