From f405f64b9fd287629428d4e19e239c742dd3311e Mon Sep 17 00:00:00 2001 From: himanshudube97 Date: Mon, 7 Oct 2024 14:48:45 +0530 Subject: [PATCH] fixed, just removed the line for handleNewSession --- src/components/DataAnalysis/LLMSummary.tsx | 1 - src/components/DataAnalysis/OverwriteBox.tsx | 3 --- 2 files changed, 4 deletions(-) diff --git a/src/components/DataAnalysis/LLMSummary.tsx b/src/components/DataAnalysis/LLMSummary.tsx index d3055943..ed732fa4 100644 --- a/src/components/DataAnalysis/LLMSummary.tsx +++ b/src/components/DataAnalysis/LLMSummary.tsx @@ -85,7 +85,6 @@ export const LLMSummary = ({ ); if (response.success) { successToast(`Feedback sent successfully`, [], globalContext); - handleNewSession(true); } } catch (err: any) { errorToast(err.message, [], globalContext); diff --git a/src/components/DataAnalysis/OverwriteBox.tsx b/src/components/DataAnalysis/OverwriteBox.tsx index 5d006898..85eb29c1 100644 --- a/src/components/DataAnalysis/OverwriteBox.tsx +++ b/src/components/DataAnalysis/OverwriteBox.tsx @@ -52,15 +52,12 @@ export const OverWriteDialog = ({ setIsBoxOpen(false); }; useEffect(() => { - console.log(modalName, 'modalname'); if (oldSessionName && modalName === MODALS.OVERWRITE) { - console.log(oldSessionName, 'oldsessino'); reset({ sessionName: oldSessionName, }); } }, [oldSessionName, modalName]); - console.log(); const ModalData: any = { SAVE: { mainheading: 'Save as',