Skip to content

Commit

Permalink
truncate bech32 addresses:
Browse files Browse the repository at this point in the history
  • Loading branch information
TalDerei committed Dec 19, 2024
1 parent 9aa63d0 commit db0b182
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ export const Ics20WithdrawalComponent = ({ value }: { value: Ics20Withdrawal })
)}

<ActionDetails.Row label='Destination Address'>
{value.destinationChainAddress}
<span className='truncate max-w-[125px]'>{value.destinationChainAddress}</span>
</ActionDetails.Row>

<ActionDetails.Row label='Source channel'>{value.sourceChannel}</ActionDetails.Row>

{value.returnAddress && (
<ActionDetails.Row label='Return Address'>
{bech32mAddress(value.returnAddress)}
<span className='truncate max-w-[125px]'>{bech32mAddress(value.returnAddress)}</span>
</ActionDetails.Row>
)}

Expand Down

0 comments on commit db0b182

Please sign in to comment.