diff --git a/src/helpers/getStatusColor.ts b/src/helpers/getStatusColor.ts index fa492e7..2d728ec 100644 --- a/src/helpers/getStatusColor.ts +++ b/src/helpers/getStatusColor.ts @@ -1,13 +1,14 @@ const colors: Record = { - "-1": "#6B7280", - "0": "#DC2626", - "200": "#10B981", - "300": "#FBBF24", - "400": "#DC2626", - "500": "#DC2626", + '-1': '#6B7280', + '0': '#DC2626', + '101': '#10B981', + '200': '#10B981', + '300': '#FBBF24', + '400': '#DC2626', + '500': '#DC2626', } export const getStatusColor = (status: number = 0): string => { const statusCode = String(status) - return colors[statusCode] || colors["0"] + return colors[statusCode] || colors['0'] }