From 1e118bfb5f33b7ca221c52ec505b3ff2339f2632 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Tue, 19 Mar 2024 20:27:14 +0000 Subject: [PATCH] Remove limit from frontend --- src/components/GenerateRoadmap/GenerateRoadmap.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/components/GenerateRoadmap/GenerateRoadmap.tsx b/src/components/GenerateRoadmap/GenerateRoadmap.tsx index 62f39ef7a..98e03b82e 100644 --- a/src/components/GenerateRoadmap/GenerateRoadmap.tsx +++ b/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);