import { useState } from 'react' import { MenuIcon, XIcon } from '@heroicons/react/outline' import { ChevronUpIcon, ChevronDownIcon } from '@heroicons/react/solid' import { Menu } from '@headlessui/react' import Link from 'next/link' import { useRouter } from 'next/router' import MenuItem from './MenuItem' import ThemeSwitch from './ThemeSwitch' import useMangoStore from '../stores/useMangoStore' import ConnectWalletButton from './ConnectWalletButton' import AlertsList from './AlertsList' const TopBar = () => { const connected = useMangoStore((s) => s.wallet.connected) const wallet = useMangoStore((s) => s.wallet.current) const [showMenu, setShowMenu] = useState(false) const { asPath } = useRouter() return ( <> ) } export default TopBar