Remove the "Feature" button from AI generated roadmaps

This commit is contained in:
Kamran Ahmed committed 2024-11-29 11:55:17 +05:00
1 parent 18f77a01f8
commit 7ba2d22463
1 file changed
+1 -1
@@ -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;
}