Skip to content

Commit

Permalink
fix: modified the address for the reply preview
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishek-01k committed Oct 16, 2024
1 parent a123764 commit 050e2a1
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import { CardRenderer } from '../../CardRenderer';

// Interfaces & Types
import { IMessagePayload } from '../../../exportedTypes';
import { pCAIP10ToWallet, shortenText } from '../../../../../helpers';

// Constants

Expand Down Expand Up @@ -161,9 +162,7 @@ export const ReplyCard = ({
fontWeight="500"
padding="0px"
>
{`${replyPayloadManager.payload.fromDID
?.split(':')[1]
.slice(0, 6)}...${replyPayloadManager.payload.fromDID?.split(':')[1].slice(-6)}`}
{shortenText(pCAIP10ToWallet(replyPayloadManager.payload.fromDID), 6, true)}
</Span>
</Span>
<CardRenderer
Expand Down

0 comments on commit 050e2a1

Please sign in to comment.