From 647f359e78b21cab6166ac60ac36f8881184f783 Mon Sep 17 00:00:00 2001 From: Karolina Kosiorowska Date: Fri, 17 Nov 2023 13:28:24 +0100 Subject: [PATCH] Updates for `ConnectButton` - Ad comment about tooltip - Add different style when an account is not defined --- dapp/src/components/Navbar/ConnectWallet.tsx | 3 +++ dapp/src/theme/utils/colors.ts | 1 + 2 files changed, 4 insertions(+) diff --git a/dapp/src/components/Navbar/ConnectWallet.tsx b/dapp/src/components/Navbar/ConnectWallet.tsx index e7302cd49..62838f620 100644 --- a/dapp/src/components/Navbar/ConnectWallet.tsx +++ b/dapp/src/components/Navbar/ConnectWallet.tsx @@ -25,10 +25,13 @@ function ConnectButton({ account, requestAccount, }: ConnectButtonsProps) { + const styles = !account ? { color: "error", borderColor: "error" } : undefined return (