Skip to content

Commit

Permalink
fix: unhandling error that caused by extra columns for issue carbon-d…
Browse files Browse the repository at this point in the history
  • Loading branch information
SeonyuK authored Nov 16, 2023
1 parent 7d55acc commit 45d4da3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ export const DraggableItemsList = ({
return;
}

const fromVisibleIndex = columns.findIndex((col) =>
const fromVisibleIndex = updatedDragCols.findIndex((col) =>
matchedColsById(col, active)
);
const toVisibleIndex = columns.findIndex((col) =>
const toVisibleIndex = updatedDragCols.findIndex((col) =>
matchedColsById(col, over)
);

Expand Down

0 comments on commit 45d4da3

Please sign in to comment.