diff --git a/apps/cms/src/app/(protected)/content/article/[documentId]/page.tsx b/apps/cms/src/app/(protected)/content/article/[documentId]/page.tsx index 371a57bd..c6ee817d 100644 --- a/apps/cms/src/app/(protected)/content/article/[documentId]/page.tsx +++ b/apps/cms/src/app/(protected)/content/article/[documentId]/page.tsx @@ -41,7 +41,7 @@ export default function DocumentDetailsPage() { }, [documentError, writeError]); useEffect(() => { - if (document && showModalMetadata) { + if (document) { setTitle(document.data.title as string); setDescription(document.data.blurb as string); setTags(document.data.tags as string[]);