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
   if (propsRenderContent) {
76
   if (propsRenderContent) {
77
     return (
77
     return (
78
       <div className={styles.contentWrap}>
78
       <div className={styles.contentWrap}>
79
-        {propsRenderContent(data.content)}
79
+        {propsRenderContent(data)}
80
       </div>
80
       </div>
81
     )
81
     )
82
   }
82
   }