Use stuff on page load function

This commit is contained in:
2021-10-12 00:06:14 +02:00
parent cd2b234728
commit 80a972253f
6 changed files with 6 additions and 6 deletions

View File

@@ -290,7 +290,7 @@
const defaultSort = String(import.meta.env.VITE_FILTERS_DEFAULT_SORT)
export async function load ({ page, session, fetch, context }) {
export async function load ({ page, fetch, session, stuff }) {
// Query parameters
const queryCountry = page.query.get('country') || defaultCountry
const querySort = page.query.get('sort') || defaultSort