From 575e05d493ef31f4ba9673a38491de842c9f9f9f Mon Sep 17 00:00:00 2001 From: Arik Chakma Date: Wed, 6 Mar 2024 21:07:11 +0600 Subject: [PATCH] fix: remove current roadmap --- src/components/GenerateRoadmap/GenerateRoadmap.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/GenerateRoadmap/GenerateRoadmap.tsx b/src/components/GenerateRoadmap/GenerateRoadmap.tsx index d07a75a4e..5164ebba3 100644 --- a/src/components/GenerateRoadmap/GenerateRoadmap.tsx +++ b/src/components/GenerateRoadmap/GenerateRoadmap.tsx @@ -73,6 +73,7 @@ export function GenerateRoadmap() { } deleteUrlParam('id'); + setCurrentRoadmap(null); const response = await fetch( `${import.meta.env.PUBLIC_API_URL}/v1-generate-ai-roadmap`,