fix(sidebar): draggable cursor on sidebar when switching workflows (#1276)

This commit is contained in:
Waleed
2025-09-06 19:52:23 -07:00
committed by GitHub
parent a0bb754c8c
commit d45324bb83

View File

@@ -128,7 +128,7 @@ export function WorkflowItem({
}
const handleClick = (e: React.MouseEvent) => {
if (dragStartedRef.current || isEditing) {
if (isDragging || isEditing) {
e.preventDefault()
return
}