Browse Source

FE: CONSUMERS: add as const (#3729)

seonho.jeong 2 năm trước cách đây
mục cha
commit
b22cf5e03e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      kafka-ui-react-app/src/lib/constants.ts

+ 1 - 1
kafka-ui-react-app/src/lib/constants.ts

@@ -106,4 +106,4 @@ export const CONSUMER_GROUP_STATE_TOOLTIPS: Record<ConsumerGroupState, string> =
     COMPLETING_REBALANCE: 'Partition reassignment is in progress.',
     DEAD: 'The group is going to be removed. It might be due to the inactivity, or the group is being migrated to different group coordinator.',
     UNKNOWN: '',
-  };
+  } as const;