From 077f8d9975614819e6fbc0e7ce6f9055a48ea1c9 Mon Sep 17 00:00:00 2001 From: AtelyPham Date: Fri, 11 Aug 2023 19:18:00 +0700 Subject: [PATCH] chore: update text color on dark mode for WalletButton --- .../src/components/buttons/WalletButton.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libs/webb-ui-components/src/components/buttons/WalletButton.tsx b/libs/webb-ui-components/src/components/buttons/WalletButton.tsx index 70a8a11dfd..8805638936 100644 --- a/libs/webb-ui-components/src/components/buttons/WalletButton.tsx +++ b/libs/webb-ui-components/src/components/buttons/WalletButton.tsx @@ -30,7 +30,12 @@ const WalletButton = forwardRef( `shrink-0 grow-0 ${getFlexBasic('lg')}` ), })} - + {isHex(address) ? `${shortenHex(address)}` : `${shortenString(address)})}`}