From acc453ff31f3ff53764a8ce85dff45319c0495f9 Mon Sep 17 00:00:00 2001 From: screw-hand Date: Tue, 24 Sep 2024 01:54:58 +0800 Subject: [PATCH] fix: search items ensure unique keys --- apps/renderer/src/modules/panel/cmdk.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/renderer/src/modules/panel/cmdk.tsx b/apps/renderer/src/modules/panel/cmdk.tsx index 84e91f2a3b..969fc97975 100644 --- a/apps/renderer/src/modules/panel/cmdk.tsx +++ b/apps/renderer/src/modules/panel/cmdk.tsx @@ -253,7 +253,7 @@ const SearchItem = memo(function Item({ styles["content-visually"], )} key={`${id}-${feedId}-${entryId}`} - id={`${id}-${feedId}-${entryId}`} + value={`${id}-${feedId}-${entryId}`} onSelect={() => { navigateEntry({ feedId: feedId!,