Remove limit from frontend

feat/ai-autocomplete
Kamran Ahmed 8 months ago
parent 603ff23acf
commit 1e118bfb5f
  1. 6
      src/components/GenerateRoadmap/GenerateRoadmap.tsx

@ -123,12 +123,6 @@ export function GenerateRoadmap() {
setIsLoading(true); setIsLoading(true);
setHasSubmitted(true); setHasSubmitted(true);
if (roadmapLimitUsed >= roadmapLimit) {
toast.error('You have reached your limit of generating roadmaps');
setIsLoading(false);
return;
}
deleteUrlParam('id'); deleteUrlParam('id');
setCurrentRoadmap(null); setCurrentRoadmap(null);

Loading…
Cancel
Save