Skip to content

Commit 4e0e843

Browse files
committed
fix: drag sortable area
1 parent 54edfc1 commit 4e0e843

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/SortableArea.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ function ItemWrapper({
4343

4444
return (
4545
<div style={style} className="flex items-center w-full">
46-
{disabledDrag ? (
47-
<div className="size-8" />
48-
) : (
46+
{!disabledDrag && (
4947
<div ref={setNodeRef} {...attributes} {...listeners} className="size-8">
5048
<Drag />
5149
</div>

0 commit comments

Comments
 (0)