- {imageUrl && imageUrl !== failedImage ? ( - setFailedImage(imageUrl)} - /> - ) : ( - - Image unavailable - - )} - - - - {part.name} - - {part.category} - - {part.price_eur === null - ? "Price unavailable" - : `€ ${part.price_eur.toFixed(2)}`} - - - {loadingDetails ? "Loading details..." : "Show details"} - - {detailError && {detailError}} - {/* Reuse specifications loaded by Show details when adding to a build. */} - - -