Skip to content

Commit

Permalink
chore: clean search (unused arg)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikku committed Nov 4, 2024
1 parent 4abf0e1 commit 5d1d756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/features/search/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default function search(items, pattern, options) {

const words = pattern.trim().toLowerCase().split(/\s+/);

return items.flatMap((item, idx) => {
return items.flatMap((item) => {
const tokens = matchItem(item, words, keys);

if (!tokens) {
Expand Down

0 comments on commit 5d1d756

Please sign in to comment.