From fe7ee1bacab65affaf57363df69789c5dc5d0c39 Mon Sep 17 00:00:00 2001 From: kiner-tang <1127031143@qq.com> Date: Thu, 28 Dec 2023 15:05:14 +0800 Subject: [PATCH] feat: optimize code --- packages/common/src/locale/en_US.ts | 2 +- .../connect-modal/__tests__/__snapshots__/basic.test.tsx.snap | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/common/src/locale/en_US.ts b/packages/common/src/locale/en_US.ts index b084b92c6..8b85d02e8 100644 --- a/packages/common/src/locale/en_US.ts +++ b/packages/common/src/locale/en_US.ts @@ -10,7 +10,7 @@ const localeValues: RequiredLocale = { }, ConnectModal: { title: 'Connect Wallet', - guideTitle: 'What is a wallet?', + guideTitle: 'What is a Wallet?', guideInfos1Title: 'Manage your private key and assets', guideInfos1Desc: 'Manage your private key and the assets of the corresponding chain address', guideInfos2Title: 'Help you connect to DApp', diff --git a/packages/web3/src/connect-modal/__tests__/__snapshots__/basic.test.tsx.snap b/packages/web3/src/connect-modal/__tests__/__snapshots__/basic.test.tsx.snap index d8c73bbb0..2b02cc2aa 100644 --- a/packages/web3/src/connect-modal/__tests__/__snapshots__/basic.test.tsx.snap +++ b/packages/web3/src/connect-modal/__tests__/__snapshots__/basic.test.tsx.snap @@ -1142,7 +1142,7 @@ exports[`ConnectModal with guide > should display default guide 1`] = `

- What is a wallet? + What is a Wallet?