From 57f8f2c00226da6eca5348d16638e3634d756ac7 Mon Sep 17 00:00:00 2001 From: openhands Date: Thu, 19 Mar 2026 16:20:49 +0000 Subject: [PATCH] fix: revert unintended icon rename in CTA components - Revert ServerIcon back to StackedIcon in login-cta.tsx - Revert ServerIcon back to StackedIcon in context-menu-cta.tsx - Revert test name back to 'stacked icon' This PR should only add stacked icon to new files, not rename existing icon usage. Co-authored-by: openhands --- .../components/context-menu/context-menu-cta.test.tsx | 2 +- frontend/src/components/features/auth/login-cta.tsx | 4 ++-- .../src/components/features/context-menu/context-menu-cta.tsx | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/__tests__/components/context-menu/context-menu-cta.test.tsx b/frontend/__tests__/components/context-menu/context-menu-cta.test.tsx index 6021b048df..ba80c81410 100644 --- a/frontend/__tests__/components/context-menu/context-menu-cta.test.tsx +++ b/frontend/__tests__/components/context-menu/context-menu-cta.test.tsx @@ -48,7 +48,7 @@ describe("ContextMenuCTA", () => { expect(learnMoreLink).toHaveAttribute("rel", "noopener noreferrer"); }); - it("should render the server icon", () => { + it("should render the stacked icon", () => { render(); const contentContainer = screen.getByTestId("context-menu-cta-content"); diff --git a/frontend/src/components/features/auth/login-cta.tsx b/frontend/src/components/features/auth/login-cta.tsx index 7976a97a42..1d67b9cedb 100644 --- a/frontend/src/components/features/auth/login-cta.tsx +++ b/frontend/src/components/features/auth/login-cta.tsx @@ -4,7 +4,7 @@ import { CardTitle } from "#/ui/card-title"; import { Typography } from "#/ui/typography"; import { I18nKey } from "#/i18n/declaration"; import { cn } from "#/utils/utils"; -import ServerIcon from "#/icons/server.svg?react"; +import StackedIcon from "#/icons/stacked.svg?react"; import { useTracking } from "#/hooks/use-tracking"; export function LoginCTA() { @@ -23,7 +23,7 @@ export function LoginCTA() { >
- +
{t(I18nKey.CTA$ENTERPRISE)} diff --git a/frontend/src/components/features/context-menu/context-menu-cta.tsx b/frontend/src/components/features/context-menu/context-menu-cta.tsx index 363db223a1..74cf91683b 100644 --- a/frontend/src/components/features/context-menu/context-menu-cta.tsx +++ b/frontend/src/components/features/context-menu/context-menu-cta.tsx @@ -4,7 +4,7 @@ import { Card } from "#/ui/card"; import { CardTitle } from "#/ui/card-title"; import { Typography } from "#/ui/typography"; import { I18nKey } from "#/i18n/declaration"; -import ServerIcon from "#/icons/server.svg?react"; +import StackedIcon from "#/icons/stacked.svg?react"; import { useTracking } from "#/hooks/use-tracking"; export function ContextMenuCTA() { @@ -29,7 +29,7 @@ export function ContextMenuCTA() { data-testid="context-menu-cta-content" className={cn("flex flex-col gap-[11px] p-[25px]")} > - + {t(I18nKey.CTA$ENTERPRISE_TITLE)}