Fix eslint error and update svelte related stuff

This commit is contained in:
2023-01-22 21:39:10 +01:00
parent 1143651549
commit b76f70a05f
32 changed files with 80 additions and 70 deletions

View File

@@ -21,9 +21,9 @@
export let title: string = shop.module_title
export let text: string = shop.module_text
export let textBottom: string = undefined
export let buttonText: string = 'Shop'
export let url: string = '/shop'
export let enabled: boolean = true
export let buttonText = 'Shop'
export let url = '/shop'
export let enabled = true
if (textBottom !== null) {
textBottom = `Posters available for ${locationsWithPoster.join(', ').replace(/,(?!.*,)/gmi, ' and')}.`