diff --git a/public/Keplr.png b/public/Keplr.png deleted file mode 100644 index 2fde14ec..00000000 Binary files a/public/Keplr.png and /dev/null differ diff --git a/public/OKX.png b/public/OKX.png deleted file mode 100644 index 6fd0fb9e..00000000 Binary files a/public/OKX.png and /dev/null differ diff --git a/src/app/components/Wallet/Connect.tsx b/src/app/components/Wallet/Connect.tsx index 50769fe2..0aea836b 100644 --- a/src/app/components/Wallet/Connect.tsx +++ b/src/app/components/Wallet/Connect.tsx @@ -6,7 +6,10 @@ import { Popover, Text, } from "@babylonlabs-io/bbn-core-ui"; -import { useWalletConnect } from "@babylonlabs-io/bbn-wallet-connect"; +import { + useWalletConnect, + useWidgetState, +} from "@babylonlabs-io/bbn-wallet-connect"; import Image from "next/image"; import { useCallback, useMemo, useRef, useState } from "react"; import { AiOutlineInfoCircle } from "react-icons/ai"; @@ -44,6 +47,9 @@ export const Connect: React.FC = ({ const { bech32Address, connected: bbnConnected } = useCosmosWallet(); const { disconnect } = useWalletConnect(); + // Widget states + const { selectedWallets } = useWidgetState(); + const [showMenu, setShowMenu] = useState(false); const { isApiNormal, isGeoBlocked, apiMessage } = useHealthCheck(); const [showDisconnectModal, setShowDisconnectModal] = useState(false); @@ -168,8 +174,18 @@ export const Connect: React.FC = ({ >
- - + +