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

@@ -4,7 +4,7 @@
<script lang="ts">
import { page, navigating } from '$app/stores'
import type { PageData, Errors } from './$types'
import type { PageData } from './$types'
import { onMount } from 'svelte'
import { stagger, timeline } from 'motion'
import dayjs from 'dayjs'
@@ -26,7 +26,6 @@
import ShopModule from '$components/organisms/ShopModule.svelte'
export let data: PageData
export let errors: Errors
const { params } = $page
let { photos }: { photos: any[] } = data

View File

@@ -6,7 +6,7 @@
import { browser } from '$app/env'
import { page, navigating } from '$app/stores'
import { goto } from '$app/navigation'
import type { PageData, Errors } from './$types'
import type { PageData } from './$types'
import { onMount, tick } from 'svelte'
import { fade, scale } from 'svelte/transition'
import { quartOut } from 'svelte/easing'
@@ -27,7 +27,6 @@
import ButtonCircle from '$components/atoms/ButtonCircle.svelte'
export let data: PageData
export let errors: Errors
let { photos, currentIndex }: { photos: any[], currentIndex: number } = data
const { location, countPhotos, limit, offset }: { location: any, countPhotos: number, limit: number, offset: number } = data