new: profile box. fix: landing page latest mods #31

Merged
freakoverse merged 5 commits from staging into master 2024-09-03 10:06:15 +00:00
Showing only changes of commit 018536e11d - Show all commits

View File

@ -251,6 +251,7 @@ const DisplayLatestMods = () => {
useDidMount(() => { useDidMount(() => {
fetchMods({ source: window.location.host, limit: 4 }) fetchMods({ source: window.location.host, limit: 4 })
.then((res) => { .then((res) => {
res.sort((a, b) => b.published_at - a.published_at)
setLatestMods(res) setLatestMods(res)
}) })
.finally(() => { .finally(() => {