})
(e.target.src = "/default-user.png")}
/>
{r.author_name || r.user?.name || "Customer"}
{renderStars(r.rating)}
{isExpanded ? fullText : truncateText(fullText)}
{r.images &&
r.images.length > 0 &&
r.images.some(img => img && img !== "ky") && (
{r.images.map((img, i) => {
if (!img || img === "ky") return null;
const fixedImg = img.startsWith("http")
? img
: `https://lh3.googleusercontent.com/${img}`;
return (

(e.target.style.display = "none")}
/>
);
})}
)}
{fullText.length > 150 && (
)}