Skip to content

Commit

Permalink
fix: lint issue with switch case
Browse files Browse the repository at this point in the history
  • Loading branch information
sirtawast committed Dec 17, 2024
1 parent 1c9e495 commit 42674b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend/benefit/handler/src/utils/applications.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion frontend/benefit/shared/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}

Expand Down

0 comments on commit 42674b3

Please sign in to comment.