[chore] Update npm packages and fix errors/run migrations
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
let previous = ''
|
||||
page.subscribe(value => {
|
||||
$previousPage = previous
|
||||
previous = value.path
|
||||
previous = value.url.pathname
|
||||
})
|
||||
|
||||
// Define page loading from navigating store
|
||||
@@ -65,7 +65,7 @@
|
||||
<script context="module" lang="ts">
|
||||
import { fetchAPI } from '$utils/api'
|
||||
|
||||
export async function load ({ page, fetch, session, stuff }) {
|
||||
export async function load ({ url, params, fetch, session, stuff }) {
|
||||
const res = await fetchAPI(`
|
||||
query {
|
||||
locations: location (filter: { status: { _eq: "published" }}) {
|
||||
|
||||
Reference in New Issue
Block a user