From a0bcc8340fe149dd0eed3a293b2d5e72bfc2ea6d Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Wed, 29 May 2024 19:46:52 +0800 Subject: [PATCH] refactor: optmize phrases (#5936) --- packages/console/package.json | 1 - .../SelectTenantPlanModal/PlanCardItem/index.tsx | 4 +--- packages/console/src/components/PlanName/index.tsx | 6 ++---- .../translation/admin-console/subscription/index.ts | 4 ++-- .../translation/admin-console/subscription/index.ts | 6 +++--- .../locales/en/translation/admin-console/tenants.ts | 2 +- .../translation/admin-console/subscription/index.ts | 4 ++-- pnpm-lock.yaml | 11 +---------- 8 files changed, 12 insertions(+), 26 deletions(-) diff --git a/packages/console/package.json b/packages/console/package.json index 142268cf6..fd1ffb311 100644 --- a/packages/console/package.json +++ b/packages/console/package.json @@ -120,7 +120,6 @@ "remark-gfm": "^4.0.0", "stylelint": "^15.0.0", "swr": "^2.2.0", - "titleize": "^4.0.0", "ts-node": "^10.9.2", "tslib": "^2.4.1", "typescript": "^5.3.3", diff --git a/packages/console/src/components/CreateTenantModal/SelectTenantPlanModal/PlanCardItem/index.tsx b/packages/console/src/components/CreateTenantModal/SelectTenantPlanModal/PlanCardItem/index.tsx index 53469b4d5..70901fced 100644 --- a/packages/console/src/components/CreateTenantModal/SelectTenantPlanModal/PlanCardItem/index.tsx +++ b/packages/console/src/components/CreateTenantModal/SelectTenantPlanModal/PlanCardItem/index.tsx @@ -81,9 +81,7 @@ function PlanCardItem({ plan, onSelect }: Props) {