diff --git a/src/components/GenerateRoadmap/GenerateRoadmap.tsx b/src/components/GenerateRoadmap/GenerateRoadmap.tsx index 9da07761a..bf10742d9 100644 --- a/src/components/GenerateRoadmap/GenerateRoadmap.tsx +++ b/src/components/GenerateRoadmap/GenerateRoadmap.tsx @@ -177,8 +177,6 @@ export function GenerateRoadmap() { }; const loadAIRoadmapLimit = async () => { - pageProgressMessage.set('Loading Roadmap Limit'); - const { response, error } = await httpGet<{ limit: number; used: number; @@ -192,8 +190,6 @@ export function GenerateRoadmap() { const { limit, used } = response; setRoadmapLimit(limit); setRoadmapLimitUsed(used); - - pageProgressMessage.set(''); }; const loadAIRoadmap = async (roadmapId: string) => { diff --git a/src/components/GenerateRoadmap/RoadmapSearch.tsx b/src/components/GenerateRoadmap/RoadmapSearch.tsx index f34718f68..1ae3d92a3 100644 --- a/src/components/GenerateRoadmap/RoadmapSearch.tsx +++ b/src/components/GenerateRoadmap/RoadmapSearch.tsx @@ -2,6 +2,7 @@ import { Wand } from 'lucide-react'; import type { FormEvent } from 'react'; import { isLoggedIn } from '../../lib/jwt'; import { showLoginPopup } from '../../lib/popup'; +import { cn } from '../../lib/classname.ts'; type RoadmapSearchProps = { roadmapTopic: string; @@ -50,7 +51,14 @@ export function RoadmapSearch(props: RoadmapSearchProps) {

You have generated{' '} - + {limitUsed} of {limit} {' '} roadmaps today.