From 514a33483697ff231c075cbb9130606af19d9298 Mon Sep 17 00:00:00 2001
From: sowgro <tpoke.ferrari@gmail.com>
Date: Tue, 17 Dec 2024 12:47:45 -0500
Subject: Improve BMEditor

---
 extension/src/components/FolderButton.tsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'extension/src/components/FolderButton.tsx')

diff --git a/extension/src/components/FolderButton.tsx b/extension/src/components/FolderButton.tsx
index 374982a..7bd55c1 100644
--- a/extension/src/components/FolderButton.tsx
+++ b/extension/src/components/FolderButton.tsx
@@ -88,6 +88,7 @@ function FolderButton(props: {id: string}) {
 
     const handleEdit = (e: React.MouseEvent<HTMLButtonElement>) => {
         e.preventDefault();
+        setActiveEdit(null);
         setActiveEdit(bmData);
     };
 
-- 
cgit v1.2.3

