Skip to content

Commit

Permalink
fix: update comment to be more descriptive
Browse files Browse the repository at this point in the history
  • Loading branch information
marrionluaka committed Jun 9, 2024
1 parent 4b21be4 commit c0e6cea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function selectAll<T>({
return ids.slice(_index, _selectedIndex + 1);
}

// select remaining indices
// select all remaining indices
return selectedIds
.slice(0, nonConsecutiveIndex)
.concat(ids.slice(_selectedIndex, _index + 1));
Expand Down

0 comments on commit c0e6cea

Please sign in to comment.