diff --git a/src/components/FrameRenderer/renderer.js b/src/components/FrameRenderer/renderer.js index 4a8f7d2ec..c57f81c3e 100644 --- a/src/components/FrameRenderer/renderer.js +++ b/src/components/FrameRenderer/renderer.js @@ -112,7 +112,7 @@ export class Renderer { const pageType = this.resourceType.replace(/\b\w/g, (l) => l.toUpperCase()); const newRoadmapType = newJsonFileSlug.replace(/\b\w/g, (l) => l.toUpperCase()).replace('-', ' '); - console.log({ + window.fireEvent({ // RoadmapClick, BestPracticesClick, etc category: `${pageType.replace('-', '')}Click`, // Roadmap Switch, BestPractices Switch, etc @@ -120,14 +120,6 @@ export class Renderer { label: `${pageTitle} / ${newRoadmapType}`, }); - // window.fireEvent({ - // // RoadmapClick, BestPracticesClick, etc - // category: `${pageType.replace('-', '')}Click`, - // // Roadmap Switch, BestPractices Switch, etc - // action: `${pageType} Switch`, - // label: `${pageTitle} Switch`, - // }); - this.jsonToSvg(newJsonUrl).then(() => { this.containerEl.setAttribute('style', ''); });