From cac1132b0471a44e968f01b2624ef43b2ee63af3 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Tue, 7 Mar 2023 16:16:55 +0700
Subject: fix show page content

---
 src/lib/content/components/PageContent.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/lib/content/components/PageContent.jsx')

diff --git a/src/lib/content/components/PageContent.jsx b/src/lib/content/components/PageContent.jsx
index 60116698..5166f21e 100644
--- a/src/lib/content/components/PageContent.jsx
+++ b/src/lib/content/components/PageContent.jsx
@@ -10,7 +10,7 @@ const PageContent = ({ path }) => {
     return (
       <div
         className='p-4 prose prose-gray prose-a:text-red_r-10 prose-p:my-0'
-        dangerouslySetInnerHTML={{ __html: dataContent.content }}
+        dangerouslySetInnerHTML={{ __html: content.data.content }}
       />
     )
   }
-- 
cgit v1.2.3

