Remove archivedSeries from useGlobalSearch (field does not exist on SiteContent)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
nmemmert
2026-06-30 10:37:14 -04:00
parent 25fa24afdf
commit f83682879b
-11
View File
@@ -118,17 +118,6 @@ export function useGlobalSearch(content: SiteContent) {
}
}
for (const series of content.archivedSeries ?? []) {
results.push({
id: `series-${series.id}`,
type: 'series',
title: series.title,
subtitle: series.label || 'Archived Series',
description: series.description,
href: `/episodes#${series.id}`,
})
}
for (const q of questions) {
results.push({
id: `qa-${q.id}`,