import React, { Fragment } from 'react' import { useWallet } from '@solana/wallet-adapter-react' import { ChevronDownIcon } from '@heroicons/react/solid' import { Menu, Transition } from '@headlessui/react' const WalletSelect = () => { const { wallets, select } = useWallet() return ( {({ open }) => ( <> {wallets?.map((wallet, index) => ( ))} )} ) } export default WalletSelect