Skip to content

Commit 633c74a

Browse files
CCM-13415: Remove enum
1 parent eb4fa49 commit 633c74a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

frontend/src/utils/error-codes.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
export enum ErrorCodes {
2-
MESSAGE_CONTAINS_INVALID_PERSONALISATION_FIELD_NAME = 'MESSAGE_CONTAINS_INVALID_PERSONALISATION_FIELD_NAME',
3-
}
1+
export const ErrorCodes = {
2+
MESSAGE_CONTAINS_INVALID_PERSONALISATION_FIELD_NAME: 'MESSAGE_CONTAINS_INVALID_PERSONALISATION_FIELD_NAME',
3+
} as const;

0 commit comments

Comments
 (0)