Show most recently tracked items on top

pull/3985/head
Kamran Ahmed 1 year ago
parent 44949709d1
commit 35f500d218
  1. 4
      src/components/Activity/ActivityPage.tsx

@ -101,7 +101,7 @@ export function ActivityPage() {
Continue Following Continue Following
</h2> </h2>
<div class="flex flex-col gap-3"> <div class="flex flex-col gap-3">
{learningRoadmaps.map((roadmap) => ( {learningRoadmaps.reverse().map((roadmap) => (
<ResourceProgress <ResourceProgress
doneCount={roadmap.done || 0} doneCount={roadmap.done || 0}
learningCount={roadmap.learning || 0} learningCount={roadmap.learning || 0}
@ -120,7 +120,7 @@ export function ActivityPage() {
/> />
))} ))}
{learningBestPractices.map((bestPractice) => ( {learningBestPractices.reverse().map((bestPractice) => (
<ResourceProgress <ResourceProgress
doneCount={bestPractice.done || 0} doneCount={bestPractice.done || 0}
totalCount={bestPractice.total || 0} totalCount={bestPractice.total || 0}

Loading…
Cancel
Save