Fix eslint error and update svelte related stuff
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
import IconArrow from '$components/atoms/IconArrow.svelte'
|
||||
import ButtonCircle from '$components/atoms/ButtonCircle.svelte'
|
||||
|
||||
export let past: boolean = false
|
||||
export let past = false
|
||||
|
||||
let inputInFocus = false
|
||||
let formStatus: FormStatus = null
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
export let ended: boolean = false
|
||||
export let ended = false
|
||||
export let current: number
|
||||
export let total: number
|
||||
</script>
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
export let title: string = undefined
|
||||
export let location: any = undefined
|
||||
export let city: string = undefined
|
||||
export let hovered: boolean = false
|
||||
export let lazy: boolean = true
|
||||
export let hovered = false
|
||||
export let lazy = true
|
||||
|
||||
const dispatch = createEventDispatcher()
|
||||
const sizes = {
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
import { shopCurrentProductSlug } from '$utils/stores/shop'
|
||||
import { smoothScroll } from '$utils/stores'
|
||||
|
||||
export let isOver: boolean = false
|
||||
export let isOver = false
|
||||
|
||||
const { shopLocations }: any = getContext('shop')
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
// Quick location change
|
||||
const quickLocationChange = async ({ target: { value }}: any) => {
|
||||
const pathTo = `/shop/poster-${value}`
|
||||
goto(pathTo, { replaceState: true, noscroll: true, keepfocus: true })
|
||||
goto(pathTo, { replaceState: true, noScroll: true, keepFocus: true })
|
||||
|
||||
// Scroll to anchor
|
||||
await tick()
|
||||
|
||||
Reference in New Issue
Block a user