From 909f32ab7f8823c9b2e34a69d81a7682635f27d5 Mon Sep 17 00:00:00 2001 From: Darran Boyd Date: Mon, 25 Nov 2024 17:23:07 +1100 Subject: [PATCH] feat(browser-extension): fix codecatalyst anchor -> button --- .../src/entrypoints/content-script.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/threat-composer-app-browser-extension/src/entrypoints/content-script.ts b/packages/threat-composer-app-browser-extension/src/entrypoints/content-script.ts index 0385cdf..59c32a9 100644 --- a/packages/threat-composer-app-browser-extension/src/entrypoints/content-script.ts +++ b/packages/threat-composer-app-browser-extension/src/entrypoints/content-script.ts @@ -337,7 +337,7 @@ async function handleCodeCatalystCodeViewer(codeCatalystState: TCCodeCatalystSta const actionsDiv = document.getElementsByClassName( 'cs-Tabs__tab-header-actions', )[0]; - actionsDiv.appendChild(tcAnchor); + actionsDiv.appendChild(tcButton); } };