From 208e149235ae70621ed2866516f73ba7c84544cf Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Fri, 9 Aug 2024 09:24:18 +0530 Subject: [PATCH] fix: remove useEffect --- src/components/organisms/BrowserWindow.tsx | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/components/organisms/BrowserWindow.tsx b/src/components/organisms/BrowserWindow.tsx index 1f7c0626..01f74fbf 100644 --- a/src/components/organisms/BrowserWindow.tsx +++ b/src/components/organisms/BrowserWindow.tsx @@ -193,16 +193,6 @@ export const BrowserWindow = () => { }; - // useEffect(() => { - // // Save the ListStep after the fields are set - // if (Object.keys(fields).length > 0 && listSelector) { - // addListStep(listSelector, fields); - // // Reset after adding the step - // setListSelector(null); - // setFields({}); - // } - // }, [fields, listSelector, addListStep]); - const handleAttributeSelection = (attribute: string) => { if (selectedElement) { let data = '';