[chore] Update npm packages and fix errors/run migrations

This commit is contained in:
2022-01-03 20:12:22 +01:00
parent 9de5aa16c9
commit 729138cffb
15 changed files with 186 additions and 182 deletions

View File

@@ -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"]) {