Skip to content

Commit eba470b

Browse files
committed
fix: fix lint
1 parent 8c7eb89 commit eba470b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

ui/components/app/nft-details/nft-details.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,8 @@ export default function NftDetails({ nft }: { nft: Nft }) {
372372
lineHeight: '16px',
373373
}}
374374
value={
375-
lastSale?.price?.amount?.usd
375+
lastSale?.price?.amount?.usd &&
376+
lastSale?.price?.amount?.native
376377
? getValueInFormattedCurrency(
377378
lastSale?.price?.amount?.native,
378379
lastSale?.price?.amount?.usd,
@@ -425,7 +426,8 @@ export default function NftDetails({ nft }: { nft: Nft }) {
425426
lineHeight: '16px',
426427
}}
427428
value={
428-
collection?.floorAsk?.price?.amount?.usd
429+
collection?.floorAsk?.price?.amount?.usd &&
430+
collection?.floorAsk?.price?.amount?.native
429431
? getValueInFormattedCurrency(
430432
collection?.floorAsk?.price?.amount?.native,
431433
collection?.floorAsk?.price?.amount?.usd,

0 commit comments

Comments
 (0)