a tool for shared writing and social publishing
0
fork

Configure Feed

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

reverse sort order on pub page

+1 -1
+1 -1
app/lish/[did]/[publication]/page.tsx
··· 110 110 const bDate = bRecord.publishedAt 111 111 ? new Date(bRecord.publishedAt) 112 112 : new Date(0); 113 - return aDate.getTime() - bDate.getTime(); // Sort by most recent first 113 + return bDate.getTime() - aDate.getTime(); // Sort by most recent first 114 114 }) 115 115 .map((doc) => { 116 116 if (!doc.documents) return null;