Skip to content

Commit 0cf9af9

Browse files
author
Fawad Ali
committed
CCM-5756: fix linting errors
1 parent 3a1d656 commit 0cf9af9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/components/forms/CreateNhsAppTemplate/CreateNhsAppTemplate.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ export const CreateNhsAppTemplate: FC<PageComponentProps> = ({
8080
{pageHeading}
8181
</h1>
8282
<div className={templateNameError && 'nhsuk-form-group--error'}>
83-
<Label htmlFor='nhsAppTemplateName' size='s'>{templateNameLabelText}</Label>
83+
<Label htmlFor='nhsAppTemplateName' size='s'>
84+
{templateNameLabelText}
85+
</Label>
8486
<HintText>{templateNameHintText}</HintText>
8587
<TemplateNameGuidance template={TemplateType.NHS_APP} />
8688
<TextInput

tests/test-team/pages/template-mgmt-base-page.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ export class TemplateMgmtBasePage {
4848

4949
this.errorSummaryList = this.errorSummary.getByRole('listitem');
5050

51-
this.submitButton = page
52-
.locator('button.nhsuk-button[type="submit"]');
51+
this.submitButton = page.locator('button.nhsuk-button[type="submit"]');
5352

5453
this.skipLink = page
5554
.locator('[id="skip-link"]')

0 commit comments

Comments
 (0)