fix: update tests for double-pause seek and formatted insertion

This commit is contained in:
Miguel Ángel
2026-05-21 22:00:14 -04:00
parent 2483ab5446
commit 0cc012cc06
3 changed files with 24 additions and 6 deletions
@@ -367,7 +367,16 @@ function BlockCard({
const prompt = buildAgentPrompt(title, name, description, category, blockType, context);
onShowPrompt?.({ title, prompt });
},
[title, name, description, category, blockType, activeCompPath, compositionDimensions, onShowPrompt],
[
title,
name,
description,
category,
blockType,
activeCompPath,
compositionDimensions,
onShowPrompt,
],
);
return (
@@ -524,7 +533,15 @@ function PromptPreviewModal({
className="p-1 rounded-md text-neutral-500 hover:text-neutral-300 hover:bg-neutral-800/50"
onClick={onClose}
>
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round">
<svg
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="2"
strokeLinecap="round"
>
<line x1="18" y1="6" x2="6" y2="18" />
<line x1="6" y1="6" x2="18" y2="18" />
</svg>