diff --git a/package.json b/package.json index ce13b38..753d04e 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "eslint": "^8.30.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-svelte3": "^4.0.0", + "just-clone": "^6.2.0", "just-debounce-it": "^3.2.0", "postcss": "^8.4.20", "postcss-color-functional-notation": "^4.2.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index dc3dedd..169526c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -22,6 +22,7 @@ specifiers: eslint-config-prettier: ^8.5.0 eslint-plugin-svelte3: ^4.0.0 feather-icons: ^4.29.0 + just-clone: ^6.2.0 just-debounce-it: ^3.2.0 postcss: ^8.4.20 postcss-color-functional-notation: ^4.2.4 @@ -72,6 +73,7 @@ devDependencies: eslint: 8.30.0 eslint-config-prettier: 8.5.0_eslint@8.30.0 eslint-plugin-svelte3: 4.0.0_khrjkzzv5v2x7orkj5o7sxbz3a + just-clone: 6.2.0 just-debounce-it: 3.2.0 postcss: 8.4.20 postcss-color-functional-notation: 4.2.4_postcss@8.4.20 @@ -1566,6 +1568,10 @@ packages: resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} dev: true + /just-clone/6.2.0: + resolution: {integrity: sha512-1IynUYEc/HAwxhi3WDpIpxJbZpMCvvrrmZVqvj9EhpvbH8lls7HhdhiByjL7DkAaWlLIzpC0Xc/VPvy/UxLNjA==} + dev: true + /just-debounce-it/3.2.0: resolution: {integrity: sha512-WXzwLL0745uNuedrCsCs3rpmfD6DBaf7uuVwaq98/8dafURfgQaBsSpjiPp5+CW6Vjltwy9cOGI6qE71b3T8iQ==} dev: true diff --git a/src/lib/components/game/index.svelte b/src/lib/components/game/index.svelte index fc6ce6c..6cc7f40 100644 --- a/src/lib/components/game/index.svelte +++ b/src/lib/components/game/index.svelte @@ -53,8 +53,8 @@ title={`View ${game.name}`} data-sveltekit-preload-data > - {`Image - + + {`Image diff --git a/src/lib/components/pagination/index.svelte b/src/lib/components/pagination/index.svelte index e87ee5b..ca0b9bb 100644 --- a/src/lib/components/pagination/index.svelte +++ b/src/lib/components/pagination/index.svelte @@ -55,7 +55,7 @@ {#each pageSizes as size (size)} (active ? 'active option' : 'option')} style="display: flex; gap: 1rem; padding: 1rem;" diff --git a/src/lib/components/search/textSearch/index.svelte b/src/lib/components/search/textSearch/index.svelte index 47f1d95..65076ee 100644 --- a/src/lib/components/search/textSearch/index.svelte +++ b/src/lib/components/search/textSearch/index.svelte @@ -136,7 +136,9 @@ // TODO: Add cache for certain number of pages so back and forth doesn't request data again -
+ { + skip = 0; +}}>