diff --git a/frontend/benefit/handler/src/utils/applications.ts b/frontend/benefit/handler/src/utils/applications.ts index fcd4429bce..543224981c 100644 --- a/frontend/benefit/handler/src/utils/applications.ts +++ b/frontend/benefit/handler/src/utils/applications.ts @@ -111,8 +111,8 @@ export const getTalpaTagStyleForStatus = ( text = theme.colors.white; break; - case TALPA_STATUSES.SUCCESFULLY_SENT_TO_TALPA || - TALPA_STATUSES.PARTIALLY_SENT_TO_TALPA: + case TALPA_STATUSES.SUCCESFULLY_SENT_TO_TALPA: + case TALPA_STATUSES.PARTIALLY_SENT_TO_TALPA: background = theme.colors.success; text = theme.colors.white; break; diff --git a/frontend/benefit/shared/src/constants.ts b/frontend/benefit/shared/src/constants.ts index a0e4d88d0b..4a64136299 100644 --- a/frontend/benefit/shared/src/constants.ts +++ b/frontend/benefit/shared/src/constants.ts @@ -155,7 +155,7 @@ export enum APPLICATION_STATUSES { export enum TALPA_STATUSES { NOT_SENT_TO_TALPA = 'not_sent_to_talpa', REJECTED_BY_TALPA = 'rejected_by_talpa', - SUCCESFULLY_SENT_TO_TALPA = 'succesfully_sent_to_talpa', + SUCCESFULLY_SENT_TO_TALPA = 'successfully_sent_to_talpa', PARTIALLY_SENT_TO_TALPA = 'partially_sent_to_talpa', }