From 27c09e334ff2e7b7690c49331040064642a0c46e Mon Sep 17 00:00:00 2001
From: sowgro <tpoke.ferrari@gmail.com>
Date: Sun, 29 Dec 2024 23:20:05 -0500
Subject: Refactoring

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

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

diff --git a/extension/src/components/FolderButton.tsx b/extension/src/components/FolderButton.tsx
index 7bd55c1..244760d 100644
--- a/extension/src/components/FolderButton.tsx
+++ b/extension/src/components/FolderButton.tsx
@@ -50,13 +50,11 @@ function FolderButton(props: {id: string}) {
     };
 
     const handleDragEnd = () => {
-        console.log("drop end")
         setActiveDrag(null);
     };
 
     // Dropping
     const handleDropLeft = () => {
-        console.log("drop left folder")
         getBrowser().bookmarks.move(activeDrag!.id, {
             parentId: bmData.parentId,
             index: bmData.index
@@ -65,7 +63,6 @@ function FolderButton(props: {id: string}) {
     };
 
     const handleDropRight = () => {
-        console.log("drop right folder")
         getBrowser().bookmarks.move(activeDrag!.id, {
             parentId: bmData.parentId,
             index: (bmData.index! + 1)
@@ -74,13 +71,13 @@ function FolderButton(props: {id: string}) {
     };
 
     const handleDropCenter = () => {
-        console.log("drop center folder")
         getBrowser().bookmarks.move(activeDrag!.id, {
             parentId: bmData.id
         });
         location.reload()
     };
 
+    // actions
     const handleDelete = () => {
         getBrowser().bookmarks.removeTree(bmData.id);
         location.reload();
-- 
cgit v1.2.3

