diff --git a/src/components/content/documents/DocumentDetails.js b/src/components/content/documents/DocumentDetails.js index 26e558f..7dc1f18 100644 --- a/src/components/content/documents/DocumentDetails.js +++ b/src/components/content/documents/DocumentDetails.js @@ -148,14 +148,14 @@ const DocumentDetails = ({ processedEvent, topics, title, summary, image, price,

{line}

))} {processedEvent?.additionalLinks && processedEvent?.additionalLinks.length > 0 && ( - <> +

Additional Links:

{processedEvent.additionalLinks.map((link, index) => ( {link} ))} - +
)}
@@ -183,7 +183,7 @@ const DocumentDetails = ({ processedEvent, topics, title, summary, image, price, {renderPaymentMessage()} {authorView ? (
- router.push(`/details/${processedEvent.d}/edit`)} label="Edit" severity='warning' outlined /> + router.push(`/details/${processedEvent.id}/edit`)} label="Edit" severity='warning' outlined />
-

{title}

+
+

{title}

+ +
{topics && topics.length > 0 && ( topics.map((topic, index) => ( @@ -148,36 +155,31 @@ const VideoDetails = ({ processedEvent, topics, title, summary, image, price, au

{line}

))} {processedEvent?.additionalLinks && processedEvent?.additionalLinks.length > 0 && ( - <> +

Additional Links:

{processedEvent.additionalLinks.map((link, index) => ( {link} ))} - +
)}
-
- avatar image -

- By{' '} - - {author?.username} - -

-
- +
+ avatar image +

+ By{' '} + + {author?.username} + +