{" "}
{/* Ensure the container fills the height */}
{!!frame && !!frame.image && (
{
setIsImageLoading(true);
}}
onLoad={() => {
setIsImageLoading(false);
}}
onError={() => {
setIsImageLoading(false);
}}
/>
)}
{/* min-w-[0] is needed to truncate the text properly */}
{frame?.title}
{new URL(currentFrame.url).hostname}
{!!frame && !!frame.buttons ? (
) : null}
);
}