a tool for shared writing and social publishing
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

bug in post sorting

+1 -1
+1 -1
app/lish/[did]/[publication]/page.tsx
··· 103 103 .filter((d) => !!d?.documents) 104 104 .sort((a, b) => { 105 105 let aRecord = a.documents?.data! as PubLeafletDocument.Record; 106 - let bRecord = a.documents?.data! as PubLeafletDocument.Record; 106 + let bRecord = b.documents?.data! as PubLeafletDocument.Record; 107 107 const aDate = aRecord.publishedAt 108 108 ? new Date(aRecord.publishedAt) 109 109 : new Date(0);