diff --git a/src/renderer/features/sidebar/components/sidebar-item.tsx b/src/renderer/features/sidebar/components/sidebar-item.tsx index 36fb09003..fb5c68d70 100644 --- a/src/renderer/features/sidebar/components/sidebar-item.tsx +++ b/src/renderer/features/sidebar/components/sidebar-item.tsx @@ -15,6 +15,11 @@ export const SidebarItem = ({ children, className, to, ...props }: SidebarItemPr const toPath = typeof to === 'string' ? to : to.pathname || ''; const isActive = location.pathname === toPath; + const handleLinkDragStart = (e: React.DragEvent) => { + e.preventDefault(); + e.stopPropagation(); + }; + return (