Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions apps/dashboard/src/@/components/blocks/wallet-address.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export function WalletAddress(props: {
return (
<ToolTipLabel hoverable label={address}>
<span className="flex items-center gap-2 underline-offset-4 hover:underline">
<div className="flex size-6 items-center justify-center rounded-full border bg-background">
<div className="flex size-5 items-center justify-center rounded-full border bg-background">
<XIcon className="size-4 text-muted-foreground" />
</div>
Invalid Address
Expand All @@ -62,7 +62,7 @@ export function WalletAddress(props: {
return (
<div className="flex items-center gap-2 py-2">
<CircleSlashIcon
className={cn("size-6 text-muted-foreground/70", props.iconClassName)}
className={cn("size-5 text-muted-foreground/70", props.iconClassName)}
/>
<span
className={cn("cursor-pointer font-mono text-sm", props.className)}
Expand Down Expand Up @@ -208,14 +208,21 @@ function WalletAvatar(props: {
<Img
className={cn("size-5 object-cover", props.iconClassName)}
src={resolvedAvatarSrc}
fallback={
<Blobbie
address={props.address}
className={props.iconClassName}
size={20}
/>
}
/>
) : props.fallbackIcon ? (
props.fallbackIcon
) : (
<Blobbie
address={props.address}
className={props.iconClassName}
size={24}
size={20}
/>
)}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ function RecentTransfersUI(props: {
<WalletAddress
address={transfer.from_address}
client={props.client}
iconClassName="size-4.5"
/>
<ArrowRightIcon className="size-4 text-muted-foreground/50 absolute -right-1 lg:right-3" />
</div>
Expand All @@ -133,7 +132,6 @@ function RecentTransfersUI(props: {
address={transfer.to_address}
client={props.client}
key={transfer.log_index}
iconClassName="size-4.5"
/>
</div>
))}
Expand Down
Loading