From 8b4a32660558cf6be77cf37b5836c30b122b3ca4 Mon Sep 17 00:00:00 2001 From: robertu <4065233+robertu7@users.noreply.github.com> Date: Wed, 6 Mar 2024 20:46:13 +0800 Subject: [PATCH 1/3] feat(donation): revise usdt guide link --- src/common/enums/externalLinks.ts | 5 +++++ .../Forms/PaymentForm/PayTo/CurrencyChoice/Tips/index.tsx | 2 +- .../PaymentForm/PayTo/SetAmount/SetAmountBalance/index.tsx | 2 +- .../SetAmount/SetAmountHeader/WhyOptimismDialog/index.tsx | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/common/enums/externalLinks.ts b/src/common/enums/externalLinks.ts index aeecade1a7..193a8de322 100644 --- a/src/common/enums/externalLinks.ts +++ b/src/common/enums/externalLinks.ts @@ -47,6 +47,11 @@ export const GUIDE_LINKS = { zh_hans: `https://matters.town/@hi176/387119?locale=zh-Hans`, en: `https://matters.town/@hi176/387119?locale=en`, }, + usdt: { + zh_hant: `https://matters.town/@hi176/537407`, + zh_hans: `https://matters.town/@hi176/537407?locale=zh-Hans`, + en: `https://matters.town/@hi176/537407?locale=en`, + }, PWA: { zh_hant: `https://matters.town/@hi176/387115`, zh_hans: `https://matters.town/@hi176/387115?locale=zh-Hans`, diff --git a/src/components/Forms/PaymentForm/PayTo/CurrencyChoice/Tips/index.tsx b/src/components/Forms/PaymentForm/PayTo/CurrencyChoice/Tips/index.tsx index 4a7d8184e5..a8376e2c69 100644 --- a/src/components/Forms/PaymentForm/PayTo/CurrencyChoice/Tips/index.tsx +++ b/src/components/Forms/PaymentForm/PayTo/CurrencyChoice/Tips/index.tsx @@ -52,7 +52,7 @@ const Tips = () => { /> diff --git a/src/components/Forms/PaymentForm/PayTo/SetAmount/SetAmountBalance/index.tsx b/src/components/Forms/PaymentForm/PayTo/SetAmount/SetAmountBalance/index.tsx index d07f22d8f4..713d26a8a9 100644 --- a/src/components/Forms/PaymentForm/PayTo/SetAmount/SetAmountBalance/index.tsx +++ b/src/components/Forms/PaymentForm/PayTo/SetAmount/SetAmountBalance/index.tsx @@ -74,7 +74,7 @@ const SetAmountBalance: React.FC = ({ )} {isUSDT && balanceUSDT <= 0 && ( - + { link: ( From 8e29c0c761c5dc1b36b09780e3e159dccc86da64 Mon Sep 17 00:00:00 2001 From: robertu <4065233+robertu7@users.noreply.github.com> Date: Tue, 12 Mar 2024 12:15:03 +0800 Subject: [PATCH 2/3] feat(wallet): enable wagmi storage to remember connected wallet address --- lang/en.json | 2 +- src/common/utils/wallet.ts | 12 +----------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/lang/en.json b/lang/en.json index cf4764bfae..2789dea490 100644 --- a/lang/en.json +++ b/lang/en.json @@ -792,7 +792,7 @@ "defaultMessage": "Set" }, "HqnUd1": { - "defaultMessage": "Add hash from IPFS into compatible reader such as", + "defaultMessage": "Add hash from IPFS into compatible reader such as ", "description": "src/components/Dialogs/RssFeedDialog/Content.tsx" }, "HxcjQl": { diff --git a/src/common/utils/wallet.ts b/src/common/utils/wallet.ts index b82e3d5b6a..079d616b57 100644 --- a/src/common/utils/wallet.ts +++ b/src/common/utils/wallet.ts @@ -1,4 +1,4 @@ -import { Chain, configureChains, createConfig, createStorage } from 'wagmi' +import { Chain, configureChains, createConfig } from 'wagmi' import { goerli, mainnet, @@ -63,16 +63,6 @@ export const wagmiConfig = createConfig({ ]), ], publicClient, - /* - FIXME: need to find a way of clearing ens name cache instead of clearing the global cache - */ - storage: createStorage({ - storage: { - getItem: () => null, - setItem: () => null, - removeItem: () => null, - }, - }), }) export const maskAddress = (address: string, prefixLen: number = 8) => { From 14d1c86369a1c0eb4e4dd8ba321e4842c41ff60c Mon Sep 17 00:00:00 2001 From: robertu <4065233+robertu7@users.noreply.github.com> Date: Tue, 12 Mar 2024 15:15:11 +0800 Subject: [PATCH 3/3] chore(release): v4.29.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3b7fad0123..0b11109267 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "matters-web", - "version": "4.29.0", + "version": "4.29.1", "description": "codebase of Matters' website", "author": "Matters ", "engines": {