import { type FC, useEffect } from 'react' import Input from '@/components/Input' import { HambergerMenu, Wallet } from 'iconsax-react' // import AvatarImage from '@/assets/images/avatar_image.png' import { useLocation } from 'react-router-dom' import Notifications from '@/pages/notification/Notification' import { useSharedStore } from './store/useSharedStore' // import { useGetProfile } from '@/pages/profile/hooks/useProfileData' // import { Popover, PopoverButton, PopoverPanel } from '@headlessui/react' // import SidebarItem from './SidebarItem' // import { useGetWalletBalance } from '@/pages/wallet/hooks/useWalletData' // import { NumberFormat } from '../config/func' import { t } from '@/locale' const Header: FC = () => { const location = useLocation(); // const [popoverKey, setPopoverKey] = useState(0); const { setOpenSidebar, openSidebar } = useSharedStore() // const { data } = useGetProfile() // const getWalletBalance = useGetWalletBalance() useEffect(() => { // setPopoverKey((prevKey) => prevKey + 1); }, [location.pathname]); return (