Chore: Remove unused variables

This commit is contained in:
Pieter Vander Vennet 2024-01-24 23:45:20 +01:00
parent 1a415f4815
commit e68b31e267
42 changed files with 48 additions and 106 deletions

View file

@ -26,7 +26,7 @@
on:click={() => {
previewedImage?.setData(image)
}}
on:error={(event) => {
on:error={() => {
if (fallbackImage) {
imgEl.src = fallbackImage
}

View file

@ -21,8 +21,7 @@ export class ImageCarousel extends Toggle {
changes?: Changes
layout: LayoutConfig
previewedImage?: UIEventSource<ProvidedImage>
},
feature: Feature
}
) {
const uiElements = images.map(
(imageURLS: { key: string; url: string; provider: ImageProvider; id: string }[]) => {