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);
setHasSubmitted(true);
if (roadmapLimitUsed >= roadmapLimit) {
toast.error('You have reached your limit of generating roadmaps');
setIsLoading(false);
return;
}
deleteUrlParam('id');
setCurrentRoadmap(null);

Loading…
Cancel
Save