Skip to content

Commit

Permalink
fix: listing condition
Browse files Browse the repository at this point in the history
  • Loading branch information
MartianGreed committed Dec 4, 2024
1 parent 40a87ee commit 0461ada
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export default function CollectionItemsDataGridView({
<span className="leading-none">Buy in progress</span>
<LoaderCircle className="left-4 size-4 animate-spin" />
</div>
) : token.is_listed && !token.listing.is_auction ? (
) : token.is_listed && token.listing !== null && !token.listing.is_auction ? (
<CollectionItemsBuyNow token={token} />
) : (
<NftCardAction asChild>
Expand Down

0 comments on commit 0461ada

Please sign in to comment.