diff --git a/src/app/components/News.tsx b/src/app/components/News.tsx
index b36dfd0..916a9b8 100644
--- a/src/app/components/News.tsx
+++ b/src/app/components/News.tsx
@@ -13,9 +13,8 @@ export default function News() {
-
- eeXiv 2.0 has been released! The site should feel significantly more
- responsive. Data caching has also been implemented so search results
- and documents will load instantly the second time.
+ eeXiv 2.1 has been released! Documents are now statically generated
+ for instant loading speeds.{' '}
- Mobile support is currently in beta.
-
diff --git a/src/app/document/view/[slug]/DocumentViewer.tsx b/src/app/document/view/[slug]/DocumentViewer.tsx
index e0a7a96..0c2f273 100644
--- a/src/app/document/view/[slug]/DocumentViewer.tsx
+++ b/src/app/document/view/[slug]/DocumentViewer.tsx
@@ -10,11 +10,13 @@ import {
} from '@/app/components/DataDisplay'
import { ItemBadge, Status } from '@/app/components/Badges'
import Link from 'next/link'
+import { notFound } from 'next/navigation'
const zillaSlab = Zilla_Slab({ subsets: ['latin'], weight: ['500'] })
export default function DocumentViewer({ slug }: Readonly<{ slug: string }>) {
const { manifest, abstract, file, citation } = documents[slug]
+ if (!manifest) return notFound()
const {
title,
authors,
diff --git a/src/app/document/view/[slug]/page.tsx b/src/app/document/view/[slug]/page.tsx
index 0ca1ba9..6905223 100644
--- a/src/app/document/view/[slug]/page.tsx
+++ b/src/app/document/view/[slug]/page.tsx
@@ -1,5 +1,4 @@
import DocumentViewer from './DocumentViewer'
-import ErrorBoundary from '@/app/utils/ErrorBoundary'
import { documents } from '@/app/db/data'
export function generateStaticParams() {
@@ -10,9 +9,5 @@ export function generateStaticParams() {
export default function Page({
params,
}: Readonly<{ params: { slug: string } }>) {
- return (
-
-
-
- )
+ return
}