Skip to content

Commit

Permalink
Merge pull request #6 from timreach/fix/is-over-a-task
Browse files Browse the repository at this point in the history
Fix: Derive isOverATask from overData not activeData
  • Loading branch information
Georgegriff authored May 18, 2024
2 parents 0d3e9fa + 899f24f commit 3e1dbb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/KanbanBoard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ export function KanbanBoard() {
const overData = over.data.current;

const isActiveATask = activeData?.type === "Task";
const isOverATask = activeData?.type === "Task";
const isOverATask = overData?.type === "Task";

if (!isActiveATask) return;

Expand Down

0 comments on commit 3e1dbb0

Please sign in to comment.