File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ import { useMatrixMedia } from '../../lib/hooks/useMatrixMedia';
30
30
import { MatrixAvatar } from '../matrix-avatar' ;
31
31
import { useLinkPreview } from '../../lib/hooks/useLinkPreview' ;
32
32
import { ProfileLinkNavigation } from '../profile-link-navigation' ;
33
+ import { ProfileCardHover } from '../../components/profile-card/hover' ;
33
34
34
35
import './styles.scss' ;
35
36
@@ -436,7 +437,14 @@ export const Message: React.FC<Properties> = memo(
436
437
primaryZid = { sender . primaryZID }
437
438
thirdWebAddress = { sender . wallets ?. find ( ( wallet ) => wallet . isThirdWeb ) ?. publicAddress }
438
439
>
439
- < MatrixAvatar size = 'medium' imageURL = { sender . profileImage } tabIndex = { - 1 } />
440
+ < ProfileCardHover
441
+ userId = {
442
+ sender . primaryZID ?. replace ( '0://' , '' ) ??
443
+ sender . wallets ?. find ( ( wallet ) => wallet . isThirdWeb ) ?. publicAddress
444
+ }
445
+ >
446
+ < MatrixAvatar size = 'medium' imageURL = { sender . profileImage } tabIndex = { - 1 } />
447
+ </ ProfileCardHover >
440
448
</ ProfileLinkNavigation >
441
449
</ div >
442
450
</ div >
You can’t perform that action at this time.
0 commit comments