import { useArk, useProfile } from "@lume/ark"; import { useNetworkStatus } from "@lume/utils"; import * as Avatar from "@radix-ui/react-avatar"; import { minidenticon } from "minidenticons"; import { Link } from "react-router-dom"; import { twMerge } from "tailwind-merge"; export function ActiveAccount() { const ark = useArk(); const isOnline = useNetworkStatus(); const { user } = useProfile(ark.account.pubkey); const svgURI = `data:image/svg+xml;utf8,${encodeURIComponent( minidenticon(ark.account.pubkey, 90, 50), )}`; return ( {ark.account.pubkey} ); }