Skip to content

Commit

Permalink
use chaining
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-luger committed Apr 2, 2024
1 parent 0223e81 commit 62f246e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/AuctionDetails/AuctionDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ function AuctionDetails(props: Props) {
</span>
{auctionDetails?.start.toLocaleDateString() + ' ' + auctionDetails.start.toLocaleTimeString()}
</p>
{auctionDetails && auctionDetails.itemCreatedAt && auctionDetails.itemCreatedAt.getTime() > 0 ? (
{auctionDetails?.itemCreatedAt?.getTime() > 0 ? (
<p>
<span className={styles.label}>
<Badge bg={labelBadgeVariant}>Item Created:</Badge>
Expand Down

0 comments on commit 62f246e

Please sign in to comment.