Skip to content

Commit

Permalink
Merge pull request #485 from 0xMillz/link_recent_bidders
Browse files Browse the repository at this point in the history
feat: Link recent bidders to their profile pages
  • Loading branch information
neokry authored Oct 25, 2024
2 parents c7b3c70 + 6b65300 commit 4439ec6
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Box, Flex, Text } from '@zoralabs/zord'
import Link from 'next/link'
import React from 'react'

import { Avatar } from 'src/components/Avatar'
Expand All @@ -19,7 +20,9 @@ export const Bidder: React.FC<BidderProps> = ({ address }) => {
<Avatar address={address} src={ensAvatar} size="32" />
</Box>
<Text className={recentBidder} variant="paragraph-md">
{displayName}
<Link href={`/profile/${address}`} passHref>
<a>{displayName}</a>
</Link>
</Text>
</Flex>
)
Expand Down

0 comments on commit 4439ec6

Please sign in to comment.