diff --git a/src/app/document/page.tsx b/src/app/document/page.tsx deleted file mode 100644 index 0b7b6ad..0000000 --- a/src/app/document/page.tsx +++ /dev/null @@ -1,8 +0,0 @@ -export default function Page() { - return ( -

- This is a placeholder for a document browser that will be implemented in - the future. In the meantime, you can view specific documents by searching. -

- ) -} diff --git a/src/app/document/view/[slug]/DocumentViewer.tsx b/src/app/document/view/[slug]/DocumentViewer.tsx index e79fea9..0532e37 100644 --- a/src/app/document/view/[slug]/DocumentViewer.tsx +++ b/src/app/document/view/[slug]/DocumentViewer.tsx @@ -9,7 +9,6 @@ import { Reviewers, } from '@/app/components/DataDisplay' import { ItemBadge, Status } from '@/app/components/Badges' -import Link from 'next/link' import { notFound } from 'next/navigation' import VersionChooser from './VersionChooser' @@ -17,7 +16,7 @@ const zillaSlab = Zilla_Slab({ subsets: ['latin'], weight: ['500'] }) const DocumentViewer = ({ slug }: Readonly<{ slug: string }>) => { const doc = documents[slug] - const { manifest, abstract, file, citation } = doc + const { manifest, abstract, citation } = doc if (!manifest) return notFound() const { diff --git a/src/app/document/view/[slug]/VersionChooser.tsx b/src/app/document/view/[slug]/VersionChooser.tsx index 918e1ee..55f3027 100644 --- a/src/app/document/view/[slug]/VersionChooser.tsx +++ b/src/app/document/view/[slug]/VersionChooser.tsx @@ -9,16 +9,7 @@ const VersionChooser = ({ }: Readonly<{ doc: Document; slug: string }>) => { const { file } = doc const { - title, - authors, - topics, - dates, - references, - code, - type, latest, - reviewers, - status, } = doc.manifest const fileEnding = file === 'other' ? '' : `.${file}`