import { ComposeUser } from '@lume/shared/composer/user'; import CancelIcon from '@lume/shared/icons/cancel'; import ChevronDownIcon from '@lume/shared/icons/chevronDown'; import ChevronRightIcon from '@lume/shared/icons/chevronRight'; import ComposeIcon from '@lume/shared/icons/compose'; import { useActiveAccount } from '@lume/utils/hooks/useActiveAccount'; import { Dialog, Transition } from '@headlessui/react'; import { Fragment, useState } from 'react'; export const ComposerModal = () => { const [isOpen, setIsOpen] = useState(false); const { account, isLoading, isError } = useActiveAccount(); const closeModal = () => { setIsOpen(false); }; const openModal = () => { setIsOpen(true); }; return ( <>
{!isLoading && !isError && account && }
); };