Skip to content

Commit

Permalink
fix(queue): remove unnecessary check for optimisticOrder in handleDra…
Browse files Browse the repository at this point in the history
…gEnd
  • Loading branch information
brnovasco committed Jan 16, 2025
1 parent 1f02397 commit b1e82ed
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions apps/spu-ui/src/app/_components/queue/queue.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ export function Queue() {

function handleDragEnd(event: DragEndEvent) {
const { active, over } = event;
if (optimisticOrder.length === 0) {
return;
}
if (!over) {
return;
}
Expand Down

0 comments on commit b1e82ed

Please sign in to comment.