import { Transition } from "@headlessui/react"; import { getActiveAccount } from "@libs/storage"; import { ActiveAccount } from "@shared/accounts/active"; import { VerticalDotsIcon } from "@shared/icons"; import { useQuery } from "@tanstack/react-query"; import { useState } from "react"; import { Link } from "react-router-dom"; export function MultiAccounts() { const { status, data: activeAccount, isFetching, } = useQuery(["activeAccount"], async () => { return await getActiveAccount(); }); const [open, setOpen] = useState(false); const toggleMenu = () => { setOpen((isOpen) => !isOpen); }; return (