Skip to content

Commit

Permalink
fix: activity table token details
Browse files Browse the repository at this point in the history
  • Loading branch information
MartianGreed committed Dec 4, 2024
1 parent 8dbe2ec commit 77334fe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,23 +55,6 @@ export default function TokenOffersTableItem({
>
<OfferPriceCell offer={offer} />
<OfferFloorDiffCell offer={offer} />
<TableCell>
<PriceTag price={offer.price} token="lords" />
</TableCell>
<TableCell>
{offer.floor_difference ? (
<p
className={cn(
"text-sm font-medium",
offer.floor_difference >= 0 ? "text-green-500" : "text-red-500",
)}
>
{offer.floor_difference}%
</p>
) : (
"_"
)}
</TableCell>
<TableCell>
<Link href={`/wallet/${offer.source}`}>{formattedSource}</Link>
</TableCell>
Expand Down
2 changes: 1 addition & 1 deletion apps/arkmarket/src/components/cells/offer-price-cell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ interface OfferProps {
export default function OfferPriceCell({ offer }: OfferProps) {
return (
<TableCell>
<PriceTag price={offer.price} className="max-w-full" />
<PriceTag price={offer.price} token={"lords"} className="max-w-full" />
</TableCell>
);
}

0 comments on commit 77334fe

Please sign in to comment.