From 9a551acb5a26982b699454f80f15a76a9cab9bef Mon Sep 17 00:00:00 2001 From: Govard Barkhatov Date: Tue, 20 Aug 2024 15:06:39 +0200 Subject: [PATCH] tooltip --- src/app/components/Modals/ConnectModal.tsx | 30 +++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/src/app/components/Modals/ConnectModal.tsx b/src/app/components/Modals/ConnectModal.tsx index 3bd37d67..55b57b63 100644 --- a/src/app/components/Modals/ConnectModal.tsx +++ b/src/app/components/Modals/ConnectModal.tsx @@ -28,6 +28,7 @@ export const ConnectModal: React.FC = ({ }) => { const [termsAccepted, setTermsAccepted] = useState(false); const [noInscription, setNoInscription] = useState(false); + const [noHWWallet, setNoHWWallet] = useState(false); const [selectedWallet, setSelectedWallet] = useState(""); const [mounted, setMounted] = useState(false); @@ -142,7 +143,7 @@ export const ConnectModal: React.FC = ({ -
+
+
+ +

Choose wallet

-
+
{walletList.map( ({ provider, @@ -243,7 +266,8 @@ export const ConnectModal: React.FC = ({ connectDisabled || !termsAccepted || !selectedWallet || - !noInscription + !noInscription || + !noHWWallet } >