From fce49082c167ffed086100abb5e9dff67bb85435 Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Tue, 20 May 2025 22:29:15 +0200 Subject: [PATCH] Make Pagefind result ID debug output prettier Signed-off-by: Julius Volz --- src/components/SpotlightSearch.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/SpotlightSearch.tsx b/src/components/SpotlightSearch.tsx index d9e6cb48..b989a3f1 100644 --- a/src/components/SpotlightSearch.tsx +++ b/src/components/SpotlightSearch.tsx @@ -48,6 +48,9 @@ const SearchResult = ({ return ( + + Pagefind result ID: {result.id} + {data.sub_results.slice(0, 4).map((subResult, subIdx) => ( 0 ? ( results.map((result, idx) => ( - |{result.id}|{idx > 0 && } + {idx > 0 && } ))