import { memo } from 'react'; import { WidgetKinds } from '@stores/constants'; import { useProfile } from '@utils/hooks/useProfile'; import { useWidget } from '@utils/hooks/useWidget'; export const MentionUser = memo(function MentionUser({ pubkey }: { pubkey: string }) { const { user } = useProfile(pubkey); const { addWidget } = useWidget(); return ( ); });