import Image from 'next/image' import Link from 'next/link' import { Button } from './ui' import type { NostrProfile } from '@/types/nostr' import { NotificationCenter } from './NotificationCenter' interface ConnectedUserMenuProps { pubkey: string profile: NostrProfile | null onDisconnect: () => void loading: boolean } export function ConnectedUserMenu({ pubkey, profile, onDisconnect, loading, }: ConnectedUserMenuProps): React.ReactElement { const displayName = profile?.name ?? `${pubkey.slice(0, 8)}...` return (