Skip to content

Commit

Permalink
fix: live auctions link (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
YohanTz authored Oct 7, 2024
1 parent 1e26463 commit e601fc7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions apps/arkmarket/src/app/components/live-auctions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ export default function LiveAuctions() {
<React.Fragment key={index}>
<CarouselItem className="basis-full sm:basis-1/2 lg:basis-1/3 xl:basis-1/4 2xl:basis-1/5">
<Link
// href={`/token/${}/${auction.metadata?.}`}
href="/"
href={`/token/${auction.collection_address}/${auction.token_id}`}
key={index}
className={cn("group", focusableStyles)}
>
Expand Down
2 changes: 2 additions & 0 deletions apps/arkmarket/src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,8 @@ export interface TrendingNow {
}

export interface LiveAuctions {
collection_address: string;
token_id: string;
end_timestamp: number;
metadata?: TokenMetadata;
}

0 comments on commit e601fc7

Please sign in to comment.