import ArticlePage, { type ArticleSearch } from "@/components/articles/ArticlePage"; import { ARTICLES_KEY } from "@/lib/paths"; import { sitesPaths } from "@/lib/articles/sites"; import { readArticlesIndex } from "yt-dlp-transcript-common/lib/report/registry"; export const dynamic = "force-dynamic"; // One article of the homepage's store (transcripts/reports//, release // 26): the shared article page, its notes beside its report.json. export default async function StoreArticlePage({ params, searchParams, }: { params: Promise<{ report: string }>; searchParams: Promise; }) { const { report: reportId } = await params; const sp = await searchParams; const published = await readArticlesIndex(sitesPaths()) .then((i) => i.published.includes(reportId)) .catch(() => false); return ( ); }