B1: React Query deeper adoption (P1–P3) #86

Closed
null wants to merge 340 commits from branch/b1-react-query into main
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 7aff0d0283 - Show all commits

View File

@ -192,7 +192,7 @@ function useSortable(items, setItems, setDirty) {
const onPointerDown = useCallback((e, index) => {
// Only trigger on the grip handle (data-grip attr)
if (!e.currentTarget.dataset.grip) return;
if (!e.currentTarget.hasAttribute('data-grip')) return;
// Ignore right-click
if (e.button !== undefined && e.button !== 0) return;