diff --git a/desktop/src/features/agents/ui/PersonaShareDialog.tsx b/desktop/src/features/agents/ui/PersonaShareDialog.tsx
index 972b81c07..690658cd9 100644
--- a/desktop/src/features/agents/ui/PersonaShareDialog.tsx
+++ b/desktop/src/features/agents/ui/PersonaShareDialog.tsx
@@ -772,13 +772,6 @@ export function PersonaShareDialog({
-
{isCatalogVisible && hasCatalogUpdates ? (
)
diff --git a/desktop/tests/e2e/agents.spec.ts b/desktop/tests/e2e/agents.spec.ts
index d84410d0a..8a756ca99 100644
--- a/desktop/tests/e2e/agents.spec.ts
+++ b/desktop/tests/e2e/agents.spec.ts
@@ -1407,9 +1407,10 @@ This deliberately long fenced-code example must not establish the minimum width
catalogToggle.boundingBox(),
publishCatalogUpdatesButton.boundingBox(),
]);
- expect(publishCatalogUpdatesButtonBox?.x ?? 0).toBeGreaterThan(
- (catalogToggleBox?.x ?? 0) + (catalogToggleBox?.width ?? 0),
- );
+ expect(
+ (publishCatalogUpdatesButtonBox?.x ?? 0) +
+ (publishCatalogUpdatesButtonBox?.width ?? 0),
+ ).toBeLessThan(catalogToggleBox?.x ?? 0);
await publishCatalogUpdatesButton.click();
await expect(publishCatalogUpdatesButton).toHaveCount(0);
await expect(catalogToggle).toHaveAttribute("aria-checked", "true");