mirror of
https://github.com/waynesutton/markdown-site.git
synced 2026-01-12 04:09:14 +00:00
update: added clear feature to image agent chat
This commit is contained in:
@@ -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 */}
|
||||
|
||||
Reference in New Issue
Block a user