update BiomeJS

This commit is contained in:
imperosol
2026-02-13 14:07:46 +01:00
parent e71f76ea91
commit 84033f37cf
41 changed files with 124 additions and 95 deletions

View File

@@ -1,4 +1,4 @@
import { paginated } from "#core:utils/api";
import { paginated } from "#core:utils/api.ts";
import {
type PictureSchema,
type PicturesFetchPicturesData,
@@ -27,7 +27,7 @@ document.addEventListener("alpine:init", () => {
const lastCachedNumber = localStorage.getItem(localStorageInvalidationKey);
if (
lastCachedNumber !== null &&
Number.parseInt(lastCachedNumber) === config.nbPictures
Number.parseInt(lastCachedNumber, 10) === config.nbPictures
) {
return JSON.parse(localStorage.getItem(localStorageKey));
}