@@ -10,26 +10,27 @@ import { NHSNotifyMain } from '@atoms/NHSNotifyMain/NHSNotifyMain';
1010import { NHSNotifyButton } from '@atoms/NHSNotifyButton/NHSNotifyButton' ;
1111
1212// breaking sonarqube rules about duplication, but the code is temporary
13+ // remove this in https://nhsd-jira.digital.nhs.uk/browse/CCM-9752
1314// BEGIN-NOSCAN
14- export const SubmitLetterTemplareProofingDisabled : FC < {
15+ export const SubmitLetterTemplateProofingDisabled : FC < {
1516 templateName : string ;
1617 templateId : string ;
1718 action : ( payload : FormData ) => void ;
1819} > = ( { templateName, templateId, action } ) => {
1920 const {
2021 proofingFlagDisabled : {
21- goBackButtonText,
22+ afterSubmissionHeading,
23+ afterSubmissionText,
2224 buttonText,
23- submitChecklistItems,
25+ goBackButtonText,
26+ goBackPath,
2427 pageHeading,
25- warningCalloutLabel,
26- warningCalloutChecklistIntroduction,
27- warningCalloutChecklistItems,
2828 submitChecklistHeading,
2929 submitChecklistIntroduction,
30- goBackPath,
31- afterSubmissionHeading,
32- afterSubmissionText,
30+ submitChecklistItems,
31+ warningCalloutChecklistIntroduction,
32+ warningCalloutChecklistItems,
33+ warningCalloutLabel,
3334 } ,
3435 } = content . components . submitLetterTemplate ;
3536
@@ -86,7 +87,6 @@ export const SubmitLetterTemplareProofingDisabled: FC<{
8687 </ NHSNotifyMain >
8788 ) ;
8889} ;
89- // END-NOSCAN
9090
9191export const SubmitLetterTemplate : FC < {
9292 templateName : string ;
@@ -110,7 +110,7 @@ export const SubmitLetterTemplate: FC<{
110110
111111 if ( process . env . NEXT_PUBLIC_ENABLE_PROOFING !== 'true' ) {
112112 return (
113- < SubmitLetterTemplareProofingDisabled
113+ < SubmitLetterTemplateProofingDisabled
114114 templateName = { templateName }
115115 templateId = { templateId }
116116 action = { action }
@@ -168,3 +168,4 @@ export const SubmitLetterTemplate: FC<{
168168 </ NHSNotifyMain >
169169 ) ;
170170} ;
171+ // END-NOSCAN
0 commit comments