From 7ba2d22463b10fbc6e01c0bdb451a7f504760d03 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Fri, 29 Nov 2024 11:55:17 +0500 Subject: [PATCH] Remove the "Feature" button from AI generated roadmaps --- src/components/CustomRoadmap/Showcase/ShowcaseStatus.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/CustomRoadmap/Showcase/ShowcaseStatus.tsx b/src/components/CustomRoadmap/Showcase/ShowcaseStatus.tsx index cfb84837b..cd4005d15 100644 --- a/src/components/CustomRoadmap/Showcase/ShowcaseStatus.tsx +++ b/src/components/CustomRoadmap/Showcase/ShowcaseStatus.tsx @@ -13,7 +13,7 @@ export function ShowcaseStatus(props: ShowcaseStatusProps) { const { showcaseStatus } = currentRoadmap; const [showSubmitWarning, setShowSubmitWarning] = useState(false); - if (!currentRoadmap || showcaseStatus) { + if (!currentRoadmap || showcaseStatus || currentRoadmap.aiRoadmapId) { return null; }