Remove errors on pages

This commit is contained in:
2022-08-16 20:32:14 +02:00
parent 93a50770d0
commit 4a79015ec4
11 changed files with 11 additions and 22 deletions

View File

@@ -5,7 +5,7 @@
<script lang="ts">
import { page, navigating } from '$app/stores'
import { goto } from '$app/navigation'
import type { PageData, Errors } from './$types'
import type { PageData } from './$types'
import { getContext, onMount } from 'svelte'
import { fly } from 'svelte/transition'
import { quartOut as quartOutSvelte } from 'svelte/easing'
@@ -31,7 +31,6 @@
import NewsletterModule from '$components/organisms/NewsletterModule.svelte'
export let data: PageData
export let errors: Errors
let { photos }: { photos: any[] } = data
const { totalPhotos, filteredCountryExists }: { totalPhotos: number, filteredCountryExists: boolean } = data