From aba52447e2bce3d6dbb2a8a272a3fc5f75519839 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Tue, 15 Jul 2025 20:38:53 +0100 Subject: [PATCH] Add label to help us add resources --- src/components/TopicDetail/TopicDetail.tsx | 24 ++-------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/src/components/TopicDetail/TopicDetail.tsx b/src/components/TopicDetail/TopicDetail.tsx index c2e8745c8..3cead482e 100644 --- a/src/components/TopicDetail/TopicDetail.tsx +++ b/src/components/TopicDetail/TopicDetail.tsx @@ -26,8 +26,7 @@ import { getUrlParams, parseUrl } from '../../lib/browser'; import { Spinner } from '../ReactIcons/Spinner'; import { GitHubIcon } from '../ReactIcons/GitHubIcon.tsx'; import { - resourceTitleFromId, - type AllowedRoadmapRenderer, + type AllowedRoadmapRenderer } from '../../lib/roadmap.ts'; import { lockBodyScroll } from '../../lib/dom.ts'; import { TopicDetailLink } from './TopicDetailLink.tsx'; @@ -660,26 +659,7 @@ export function TopicDetail(props: TopicDetailProps) { className="hidden items-center justify-center rounded-md px-2 py-2 text-sm transition-all hover:bg-gray-200 sm:flex" > - Help us Improve this Content - - - { - window.fireEvent({ - category: 'PartnerClick', - action: 'TNS Redirect', - label: 'Roadmap Topic / TNS Link', - }); - }} - > - Partner - Visit{' '} - - TheNewStack.io - {' '} - for {resourceTitleFromId(resourceId)} news + Help us add resources to this topic )}