import React, { useState } from 'react' const COLLAPSE_AT = 560 export default function ArtworkDescription({ artwork }) { const [expanded, setExpanded] = useState(false) const content = (artwork?.description || '').trim() const contentHtml = (artwork?.description_html || '').trim() const collapsed = content.length > COLLAPSE_AT && !expanded if (content.length === 0) return null return (