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:
@@ -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}`,
|
||||
|
||||
Reference in New Issue
Block a user