Skip to content

Commit c9663b9

Browse files
committed
CCM-10548: review
1 parent efd1aac commit c9663b9

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

frontend/src/__tests__/components/forms/LetterTemplateForm.test.tsx/__snapshots__/LetterTemplateForm.test.tsx.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2267,8 +2267,8 @@ exports[`renders page with preloaded field values 1`] = `
22672267
</h3>
22682268
<p>
22692269
We cannot automatically check if the personalisation fields in your PDF match the example data in your CSV file because of the language you've chosen.
2270-
<br />
2271-
<br />
2270+
</p>
2271+
<p>
22722272
You must check they match before you save and upload.
22732273
</p>
22742274
</div>
@@ -2720,8 +2720,8 @@ exports[`shows right-to-left language warning when language changes 1`] = `
27202720
</h3>
27212721
<p>
27222722
We cannot automatically check if the personalisation fields in your PDF match the example data in your CSV file because of the language you've chosen.
2723-
<br />
2724-
<br />
2723+
</p>
2724+
<p>
27252725
You must check they match before you save and upload.
27262726
</p>
27272727
</div>

frontend/src/components/forms/LetterTemplateForm/LetterTemplateForm.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,8 @@ export const LetterTemplateForm: FC<
188188
<WarningCallout.Label>
189189
{rtlWarning.heading}
190190
</WarningCallout.Label>
191-
<p>
192-
{rtlWarning.bodyPart1}
193-
<br />
194-
<br />
195-
{rtlWarning.bodyPart2}
196-
</p>
191+
<p>{rtlWarning.bodyPart1}</p>
192+
<p>{rtlWarning.bodyPart2}</p>
197193
</WarningCallout>
198194
)}
199195

0 commit comments

Comments
 (0)