Merge pull request #16 from ayoayco/feat/reverse-ordering-of-library-latest-first

feat: reverse ordering of library latest first
This commit is contained in:
Ayo Ayco 2023-06-04 21:05:19 +02:00 committed by GitHub
commit 5e60dc0bf3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

4
package-lock.json generated
View file

@ -1,11 +1,11 @@
{
"name": "@ayoayco/cozy",
"version": "0.1.2",
"version": "0.1.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"version": "0.1.2",
"version": "0.1.3",
"dependencies": {
"@astro-reactive/form": "^0.8.1",
"@astro-reactive/validator": "^0.3.4",

View file

@ -1,5 +1,5 @@
{
"version": "0.1.2",
"version": "0.1.3",
"scripts": {
"start": "astro dev",
"build": "astro build"

View file

@ -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');