diff --git a/src/app/(app)/pages/preview/[[...path]]/page.tsx b/src/app/(app)/pages/preview/[[...path]]/page.tsx index 93307ee..3f6712b 100644 --- a/src/app/(app)/pages/preview/[[...path]]/page.tsx +++ b/src/app/(app)/pages/preview/[[...path]]/page.tsx @@ -8,7 +8,6 @@ import { notFound } from 'next/navigation' const PreviewCatchAllPage = async ({ params }: { params: { path: string[] } }) => { noStore() const [page] = await Promise.all([ - getCurrentUser(), getDocument({ collection: COLLECTION_SLUG_PAGE, path: params.path, diff --git a/src/app/(app)/posts/preview/[[...path]]/page.tsx b/src/app/(app)/posts/preview/[[...path]]/page.tsx index d3ff82f..6e7821f 100644 --- a/src/app/(app)/posts/preview/[[...path]]/page.tsx +++ b/src/app/(app)/posts/preview/[[...path]]/page.tsx @@ -9,7 +9,6 @@ import PreviewPostPage from '@/components/PreviewPostPage' const PreviewCatchAllPage = async ({ params }: { params: { path: string[] } }) => { noStore() const [page] = await Promise.all([ - getCurrentUser(), getDocument({ collection: COLLECTION_SLUG_POST, path: params.path,