Skip to content

Commit

Permalink
refactor: fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
darcyYe committed Jan 27, 2025
1 parent 467cce6 commit d5e0cbd
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions packages/console/src/components/FeatureTag/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ export { default as BetaTag } from './BetaTag';
* The display tag mapping for each plan type.
*/
const planTagMap = {
...{
[ReservedPlanId.Free]: 'free',
[ReservedPlanId.Pro]: 'pro',
[ReservedPlanId.Pro202411]: 'pro',
[ReservedPlanId.Development]: 'dev',
[ReservedPlanId.Admin]: 'admin',
},
[ReservedPlanId.Free]: 'free',
[ReservedPlanId.Pro]: 'pro',
[ReservedPlanId.Pro202411]: 'pro',
[ReservedPlanId.Development]: 'dev',
[ReservedPlanId.Admin]: 'admin',
enterprise: 'enterprise',
} as const;

Expand Down

0 comments on commit d5e0cbd

Please sign in to comment.