From 5d1d75690023f794c9e617cc8921535c3e91b196 Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Mon, 4 Nov 2024 17:44:10 +0100 Subject: [PATCH] chore: clean search (unused arg) --- lib/features/search/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/features/search/search.js b/lib/features/search/search.js index 15c6cd959..3b9964eb2 100644 --- a/lib/features/search/search.js +++ b/lib/features/search/search.js @@ -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) {