diff --git a/src/components/p2p/AdList.tsx b/src/components/p2p/AdList.tsx index 91d3417..495b964 100644 --- a/src/components/p2p/AdList.tsx +++ b/src/components/p2p/AdList.tsx @@ -211,107 +211,77 @@ export function AdList({ type, filters }: AdListProps) { } return ( -
- {offer.seller_wallet.slice(0, 6)}...{offer.seller_wallet.slice(-4)} +
+ {(offer.seller_wallet || '').slice(0, 4)}...{(offer.seller_wallet || '').slice(-3)}
- {offer.merchant_tier && ( -- {offer.seller_reputation.completed_trades} trades • {' '} - {((offer.seller_reputation.completed_trades / (offer.seller_reputation.total_trades || 1)) * 100).toFixed(0)}% completion +
+ {offer.seller_reputation.completed_trades} trades
)}Price
-- {offer.price_per_unit.toFixed(2)} {offer.fiat_currency} -
-Available
-- {offer.remaining_amount} {offer.token} -
- {offer.min_order_amount && ( -- Min: {offer.min_order_amount} {offer.token} + {/* Price & Amount - Inline */} +
+ {offer.price_per_unit?.toFixed(2) || '0.00'} {offer.fiat_currency}
- )} +price
++ {offer.remaining_amount} {offer.token} +
+available
+Payment
-- {offer.time_limit_minutes} min limit -
-- Created: {new Date(offer.created_at).toLocaleDateString()} -
-