Skip to content

Commit

Permalink
Update holder icon to use the jdenticon similar to the connection box.
Browse files Browse the repository at this point in the history
  • Loading branch information
jessgusclark committed Oct 28, 2024
1 parent 3153be7 commit dcff88f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/treasury/HoldersSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { useFetchTokenHolders } from '@/app/treasury/hooks/useFetchTokenHolders'
import { formatBalanceToHuman } from '@/app/user/Balances/balanceUtils'
import Image from 'next/image'
import { LoadingSpinner } from '@/components/LoadingSpinner'
import { Jdenticon } from '@/components/Header/Jdenticon'

interface HolderColumnProps {
address: string
Expand All @@ -18,7 +19,7 @@ const HolderColumn = ({ address, rns }: HolderColumnProps) => {
target="_blank"
className="mt-2 flex items-center gap-1.5 text-white"
>
<Image src="/images/treasury/holders.png" width={24} height={24} alt="Holders Image" />
<Jdenticon className="rounded-full bg-white mr-1" value={address} size="30" />
<Span className="underline text-left overflow-hidden whitespace-nowrap text-[14px]">
{rns || address}
</Span>
Expand Down

0 comments on commit dcff88f

Please sign in to comment.