From 741b04f1208211c156308a6d1de2c28f71afc8b9 Mon Sep 17 00:00:00 2001 From: baorong Date: Wed, 18 Feb 2026 15:53:34 +0800 Subject: [PATCH] chore deps: upgrade lingui to v5 --- package.json | 8 ++++---- src/pages/login/index.js | 8 +++----- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index f7f3ee0..cfacce5 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "description": "An admin dashboard application demo built upon Ant Design and UmiJS", "dependencies": { "@ant-design/icons": "^4.8.3", - "@lingui/react": "^4.14.1", + "@lingui/react": "^5.0.0", "@rc-component/picker": "^1.9.0", "antd": "^6.0.0", "axios": "^0.21.4", @@ -45,11 +45,11 @@ "devDependencies": { "@babel/core": "^7.29.0", "@babel/preset-react": "^7.24.1", - "@lingui/cli": "^4.14.1", - "@lingui/core": "^4.14.1", + "@lingui/cli": "^5.0.0", + "@lingui/core": "^5.0.0", "@lingui/format-json": "^5.9.1", - "@lingui/macro": "^4.14.1", "@umijs/preset-react": "^1.8.32", + "@lingui/macro": "^5.0.0", "babel-eslint": "^10.1.0", "babel-plugin-dev-expression": "^0.2.3", "babel-plugin-import": "^1.13.8", diff --git a/src/pages/login/index.js b/src/pages/login/index.js index e931ad2..0944026 100644 --- a/src/pages/login/index.js +++ b/src/pages/login/index.js @@ -57,11 +57,9 @@ class Login extends PureComponent { placeholder={t`Username`} /> - ( - - - )} - /> + + +