[chore] Update npm packages and fix errors/run migrations
This commit is contained in:
@@ -22,7 +22,6 @@
|
||||
export let photos: any
|
||||
|
||||
const { settings, locations }: any = getContext('global')
|
||||
const { path } = $page
|
||||
|
||||
let scrollY: number, innerHeight: number
|
||||
|
||||
@@ -128,7 +127,7 @@
|
||||
|
||||
<div class="cards">
|
||||
<BoxCTA
|
||||
url="{path}#locations"
|
||||
url="{$page.url.pathname}#locations"
|
||||
icon="globe"
|
||||
label="Discover locations"
|
||||
alt="Globe"
|
||||
@@ -176,7 +175,8 @@
|
||||
<script context="module" lang="ts">
|
||||
import { fetchAPI } from '$utils/api'
|
||||
|
||||
export async function load ({ page, fetch, session, stuff }) {
|
||||
/** @type {import('@sveltejs/kit').Load} */
|
||||
export async function load ({ url, params, fetch, session, stuff }) {
|
||||
const res = await fetchAPI(`
|
||||
query {
|
||||
photo (limit: 11, sort: ["-date_created"]) {
|
||||
|
||||
Reference in New Issue
Block a user