diff --git a/packages/uiweb/src/lib/components/chat/reusables/ProfileContainer.tsx b/packages/uiweb/src/lib/components/chat/reusables/ProfileContainer.tsx index 27a8cb1ea..02af5aebc 100644 --- a/packages/uiweb/src/lib/components/chat/reusables/ProfileContainer.tsx +++ b/packages/uiweb/src/lib/components/chat/reusables/ProfileContainer.tsx @@ -1,5 +1,5 @@ import { useState } from 'react'; -import { copyToClipboard } from '../../../helpers'; +import { copyToClipboard, pCAIP10ToWallet } from '../../../helpers'; import { CopySvg2 } from '../../../icons/CopySvg2'; import { Section, Span, Image, Div, Tooltip } from '../../reusables'; import { IChatTheme } from '../theme'; @@ -74,7 +74,7 @@ export const ProfileContainer = ({ setCopyText(''); }} onClick={() => { - copyToClipboard(member?.completeWallet || ''); + copyToClipboard(pCAIP10ToWallet(member?.completeWallet || '')); setCopyText('copied'); }} >