From e390c67bbd45dec24631c723e5057285523139e3 Mon Sep 17 00:00:00 2001 From: Kavin Venkatachalam Date: Mon, 8 Apr 2024 11:57:41 +0530 Subject: [PATCH] Fixed selecting component onDrop --- frontend/src/Editor/Container.jsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/frontend/src/Editor/Container.jsx b/frontend/src/Editor/Container.jsx index d2aeee011b..e6f21b601c 100644 --- a/frontend/src/Editor/Container.jsx +++ b/frontend/src/Editor/Container.jsx @@ -279,10 +279,6 @@ export const Container = ({ appDefinitionChanged(newDefinition, opts); } - return () => { - firstUpdate.current = true; - }; - // eslint-disable-next-line react-hooks/exhaustive-deps }, [boxes]);