Browse Source

fix: contentRender some bug

Roxas 3 years ago
parent
commit
79eae3da0c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/components/comment/common/ContentRender.tsx

+ 1
- 1
src/components/comment/common/ContentRender.tsx View File

@@ -76,7 +76,7 @@ export const ContentRender = ({ data, renderContent: propsRenderContent }: { dat
76 76
   if (propsRenderContent) {
77 77
     return (
78 78
       <div className={styles.contentWrap}>
79
-        {propsRenderContent(data.content)}
79
+        {propsRenderContent(data)}
80 80
       </div>
81 81
     )
82 82
   }