fix: increase template default page limit

This commit is contained in:
Arman
2025-03-12 17:42:03 +01:00
parent c9455da6a5
commit c41e1da1e8
@@ -1,4 +1,4 @@
import { CARD_LIMIT, Dependencies } from '$lib/constants';
import { Dependencies, PAGE_LIMIT } from '$lib/constants';
import { getLimit, getPage, getSearch, getView, pageToOffset, View } from '$lib/helpers/load';
import { sdk } from '$lib/stores/sdk';
import type { PageLoad } from './$types';
@@ -6,7 +6,7 @@ import type { PageLoad } from './$types';
export const load: PageLoad = async ({ url, route, depends, parent }) => {
depends(Dependencies.FUNCTIONS);
const limit = getLimit(url, route, CARD_LIMIT);
const limit = getLimit(url, route, PAGE_LIMIT);
const page = getPage(url);
const search = getSearch(url);
const view = getView(url, route, View.Grid);