Skip to content

Commit

Permalink
Merge branch 'main' of github.com:MacielG1/Timer_Interval
Browse files Browse the repository at this point in the history
  • Loading branch information
MacielG1 committed Nov 29, 2023
2 parents 08309d6 + fd83367 commit 5c48fe0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@ import { DndContext, DragEndEvent, PointerSensor, TouchSensor, closestCenter, us
import { SortableContext, arrayMove } from "@dnd-kit/sortable";
import { restrictToVerticalAxis } from "@dnd-kit/modifiers";
import SidebarItem from "./SidebarItem";
=

export default function Sidebar() {
const [savedWorkouts, setSavedWorkouts] = useStore((state) => [state.savedWorkouts, state.setSavedWorkouts]);

const pointerSensor = useSensor(PointerSensor);
const pointerSensor = useSensor(PointerSensor, {
activationConstraint: {
distance: 8,
},
});
const touchSensor = useSensor(TouchSensor, {
activationConstraint: {
delay: 250,
Expand Down

0 comments on commit 5c48fe0

Please sign in to comment.