Skip to content

Commit 64d53b2

Browse files
committed
fix(web): match thread error copy icon tone
1 parent 55ca4dd commit 64d53b2

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎apps/web/src/components/chat/ThreadErrorBanner.test.tsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ describe("ThreadErrorBanner", () => {
9292

9393
expect(markup).toContain('role="alert"');
9494
expect(markup).toContain('aria-label="Copy error"');
95+
expect(markup).toContain("lucide-copy text-error");
9596
expect(markup).toContain('aria-label="Dismiss error"');
9697
expect(markup).not.toContain("controlAlignment");
9798
expect(markup).toContain("flex gap-2 items-start");

‎apps/web/src/components/chat/ThreadErrorBanner.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function ThreadErrorCopyButton({ error }: { error: string }) {
4545
/>
4646
}
4747
>
48-
{isCopied ? <CheckIcon className="text-success!" /> : <CopyIcon />}
48+
{isCopied ? <CheckIcon className="text-success!" /> : <CopyIcon className="text-error" />}
4949
</TooltipTrigger>
5050
<TooltipPopup side="top">{copyLabel}</TooltipPopup>
5151
</Tooltip>

0 commit comments

Comments
 (0)