import Image from 'next/image' import Link from 'next/link' 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) { const displayName = profile?.name ?? `${pubkey.slice(0, 8)}...` return (