update: added clear feature to image agent chat

This commit is contained in:
Wayne Sutton
2026-01-11 12:31:29 -08:00
parent 5b69546ca5
commit b6d98bb369

View File

@@ -3512,6 +3512,14 @@ function AIAgentSection() {
{copiedFormat === "html" ? <Check size={16} /> : <CopySimple size={16} />}
<span>{copiedFormat === "html" ? "Copied" : "HTML"}</span>
</button>
<button
className="ai-image-action-btn clear"
onClick={() => setGeneratedImage(null)}
title="Clear image"
>
<Trash size={16} />
<span>Clear</span>
</button>
</div>
{/* Code Preview */}