From 7a33e91651050ef840736fa266158836f5eebcf4 Mon Sep 17 00:00:00 2001 From: Ayo Date: Sun, 4 Jun 2023 21:03:55 +0200 Subject: [PATCH] feat reverse ordering of library items --- src/components/Library.astro | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Library.astro b/src/components/Library.astro index 577e7db..5bb9826 100644 --- a/src/components/Library.astro +++ b/src/components/Library.astro @@ -39,6 +39,7 @@ const {postDivSelector, skipSave = false} = Astro.props; const urlObj = new URL(request.url); return urlObj.search !== ''; }) + .reverse() .forEach(async (request) => { const {url} = request; const link = document.createElement('a');