From 3b8758c14e668e1f57af8f7424442ebca22017c3 Mon Sep 17 00:00:00 2001
From: sowgro <tpoke.ferrari@gmail.com>
Date: Sat, 18 Jan 2025 15:41:42 -0500
Subject: Fix bmEditing without refresh

---
 extension/src/components/FolderButton.tsx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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

diff --git a/extension/src/components/FolderButton.tsx b/extension/src/components/FolderButton.tsx
index 8d64ffd..03bcc76 100644
--- a/extension/src/components/FolderButton.tsx
+++ b/extension/src/components/FolderButton.tsx
@@ -59,7 +59,7 @@ function FolderButton(props: {id: string}) {
             parentId: bmData.parentId,
             index: bmData.index
         })
-        location.reload()
+        // location.reload()
     };
 
     const handleDropRight = () => {
@@ -67,20 +67,20 @@ function FolderButton(props: {id: string}) {
             parentId: bmData.parentId,
             index: (bmData.index! + 1)
         })
-        location.reload();
+        // location.reload();
     };
 
     const handleDropCenter = () => {
         getBrowser().bookmarks.move(activeDrag!.id, {
             parentId: bmData.id
         });
-        location.reload()
+        // location.reload()
     };
 
     // actions
     const handleDelete = () => {
         getBrowser().bookmarks.removeTree(bmData.id);
-        location.reload();
+        // location.reload();
     };
 
     const handleEdit = (e: React.MouseEvent<HTMLButtonElement>) => {
-- 
cgit v1.2.3

