From 12b5143a47daa20cc844c02ab28b56efd12b03b0 Mon Sep 17 00:00:00 2001
From: sowgro <tpoke.ferrari@gmail.com>
Date: Sat, 7 Dec 2024 00:50:28 -0500
Subject: fix folder drag n drop

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

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

diff --git a/extension/src/components/FolderButton.tsx b/extension/src/components/FolderButton.tsx
index b1a8a64..eff035e 100644
--- a/extension/src/components/FolderButton.tsx
+++ b/extension/src/components/FolderButton.tsx
@@ -20,6 +20,10 @@ function FolderButton(props: {data: BookmarkTreeNode}) {
     const [folderOpen, setFolderOpen] = useState(false);
 
     // Dragging
+    function handleDragStart(e: React.DragEvent<HTMLAnchorElement>) {
+        e.dataTransfer.setData("sowgro", "placeholder")
+    }
+
     function handleDrag() {
         setActiveDrag(props.data);
     }
-- 
cgit v1.2.3

