Skip to content

Commit

Permalink
fix: truncate address in account modal
Browse files Browse the repository at this point in the history
  • Loading branch information
brenopolanski committed Dec 26, 2022
1 parent 2eb74b3 commit 46a6ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Web3/WalletSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const WalletSelector = ({ dialog }: Props) => {
<div className="mt-3 flex flex-col gap-2">
<p className="text-sm font-thin">{`${t('connectedWith')} ${accountData.connector?.name}`}</p>
<p className="flex items-center gap-4 break-words">
<span>
<span className="truncate">
{accountData.ens?.name ? `${accountData.ens?.name} (${formattedAddress})` : accountData.address}
</span>
<a
Expand Down

0 comments on commit 46a6ff7

Please sign in to comment.