diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-03-07 16:16:55 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-03-07 16:16:55 +0700 |
| commit | cac1132b0471a44e968f01b2624ef43b2ee63af3 (patch) | |
| tree | 9b639df317829cb536d32f7028fa9ad12497dff3 | |
| parent | 065c1633b2b83b9bdf053800cbd82c1259c1452f (diff) | |
fix show page content
| -rw-r--r-- | src/lib/content/components/PageContent.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
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 }} /> ) } |
