Skip to content

Commit

Permalink
fixed address display
Browse files Browse the repository at this point in the history
  • Loading branch information
ametel01 committed Jan 2, 2024
1 parent b8a06b9 commit 7d851e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ interface WalletHeaderProps {

const WalletHeader = ({ account }: WalletHeaderProps) => {
const shortenedAddress = account
? `${account.substring(0, 6)}...${account.substring(61)}`
? `${account.substring(0, 6)}...${account.substring(-4)}`
: 'null';

return <HeaderWalletContainer>{shortenedAddress}</HeaderWalletContainer>;
Expand Down

0 comments on commit 7d851e8

Please sign in to comment.