import { memo } from 'react'; import { useProfile } from '@utils/hooks/useProfile'; export const GroupTitle = memo(function GroupTitle({ pubkey }: { pubkey: string }) { const { status, user } = useProfile(pubkey); if (status === 'pending') { return
; } return (