@@ -49,6 +49,7 @@ const ArticleRecordRow = ({
49
49
50
50
const basicTemplateData = getTemplateData ( recordPayload , TMP_BASIC )
51
51
const title = basicTemplateData ?. name
52
+ const description = basicTemplateData ?. description
52
53
53
54
const bylineWriterOipRef = articleTemplateData ?. bylineWriter
54
55
const imageListOipRef = articleTemplateData ?. imageList
@@ -101,10 +102,11 @@ const ArticleRecordRow = ({
101
102
102
103
const [ purchasedText , purchaseTextQuery ] = useIpfsRecord ( purchasedData ?. data ?. location )
103
104
104
- const textLoading = purchaseTextQuery . isLoading || articleTextIpfsQuery . isLoading
105
+ // const textLoading = purchaseTextQuery.isLoading || articleTextIpfsQuery.isLoading
105
106
106
107
const articleTextDoesNotExists = articleTextIpfsQuery ?. isSettled && ! articleTextIpfsRecord
107
- const articleTextLoaded = articleTextIpfsQuery . isSettled && articleTextIpfsRecord
108
+ // const articleTextLoaded = articleTextIpfsQuery.isSettled && articleTextIpfsRecord
109
+ // const articleTextIpfsRecord = description
108
110
109
111
//console.log("REEEEEEE: ", articleTextIpfsRecord)
110
112
@@ -127,7 +129,7 @@ const ArticleRecordRow = ({
127
129
< h2 className = { classes . title } > { title } </ h2 >
128
130
</ div >
129
131
< div className = { classes . summaryContainer } >
130
- < p className = { classes . summary } > { articleTextLoaded && articleTextIpfsRecord . substr ( 0 , 250 ) }
132
+ < p className = { classes . summary } > { description }
131
133
...
132
134
</ p >
133
135
</ div >
0 commit comments