diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index 811847b..d86998b 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -7,11 +7,7 @@ import SidebarItem from "./SidebarItem"; export default function Sidebar() { const [savedWorkouts, setSavedWorkouts] = useStore((state) => [state.savedWorkouts, state.setSavedWorkouts]); - const pointerSensor = useSensor(PointerSensor, { - activationConstraint: { - distance: 8, - }, - }); + // const pointerSensor = useSensor(PointerSensor); const touchSensor = useSensor(TouchSensor, { activationConstraint: { delay: 250, @@ -19,7 +15,7 @@ export default function Sidebar() { }, }); - const sensors = useSensors(pointerSensor, touchSensor); + const sensors = useSensors(touchSensor); function handleDragEnd(e: DragEndEvent) { const { active, over } = e; @@ -41,7 +37,7 @@ export default function Sidebar() {